commit | 881d948c23442173a011f1adcfe4c95bf7f27515 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes@sipsolutions.net> | Wed Jan 21 15:13:48 2009 +0100 |
committer | John W. Linville <linville@tuxdriver.com> | Thu Jan 29 16:01:09 2009 -0500 |
tree | 3d7e6a4bf23b960cf45a4d2c5734578168ce0424 | |
parent | 369391db1aabd089cefaadaabb6d9fc82e78b0a7 [diff] |
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>