summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2009-08-21 09:35:20 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-08-28 14:40:35 -0400
commitca4fe30097d700c595c13362200083650759e104 (patch)
tree13f96510106953e337769a00c24fd3ccf1a9949a /samples
parent1e3d31c589a6bcb05cd7fccccf9657c27b0e3dd1 (diff)
libertas: clean up and clarify get_common_rates
Clarify what the heck the function is doing with better variable names and less indirection and better comments. Also ensure callers use the proper minimum size, even though all rates arrays should be size MAX_RATES anyway. Reverts part of Andrey's dynamic alloc patch since we don't really need it. Also leaves the passed-in rates array alone on errors. Signed-off-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions