wireless: restrict to 32 legacy rates
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 21 Jan 2009 14:13:48 +0000 (15:13 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 29 Jan 2009 21:01:09 +0000 (16:01 -0500)
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>

No differences found