summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43/pio.c
diff options
context:
space:
mode:
authorJohannes Berg2009-01-21 15:13:48 +0100
committerJohn W. Linville2009-01-29 22:01:09 +0100
commit881d948c23442173a011f1adcfe4c95bf7f27515 (patch)
tree3d7e6a4bf23b960cf45a4d2c5734578168ce0424 /drivers/net/wireless/b43/pio.c
parentath9k: Remove unnecessary gpio configuration in ath9k_hw_reset() (diff)
downloadkernel-qcow2-linux-881d948c23442173a011f1adcfe4c95bf7f27515.tar.gz
kernel-qcow2-linux-881d948c23442173a011f1adcfe4c95bf7f27515.tar.xz
kernel-qcow2-linux-881d948c23442173a011f1adcfe4c95bf7f27515.zip
wireless: restrict to 32 legacy rates
Since the standards only define 12 legacy rates, 32 is certainly a sane upper limit and we don't need to use u64 everywhere. Add sanity checking that no more than 32 rates are registered and change the variables to u32 throughout. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/pio.c')
0 files changed, 0 insertions, 0 deletions