From: Johannes Berg Date: Wed, 21 Jan 2009 14:13:48 +0000 (+0100) Subject: wireless: restrict to 32 legacy rates X-Git-Tag: v2.6.30-rc1~662^2~836^2~75 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=881d948c23442173a011f1adcfe4c95bf7f27515;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed