]> git.karo-electronics.de Git - linux-beck.git/commit
cfg80211: add warning when calculating MCS rates >= 32
authorJohannes Berg <johannes.berg@intel.com>
Tue, 8 May 2012 19:36:20 +0000 (21:36 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 16 May 2012 16:46:33 +0000 (12:46 -0400)
commit2615f3759b7b7d47a2fa894bc9f45286bdf122d7
tree2533e28f347651fc8f551e3747110e4d3c40b7b8
parent4472037be86a9d7d1cab37e0c4cb310997a140ae
cfg80211: add warning when calculating MCS rates >= 32

cfg80211_calculate_bitrate() doesn't work for MCS
rates 32 or higher, and it has always returned 0
in that case. Warn if it ever really happens.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/util.c