]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: minstrel_ht: pick only supported rates for sta and group max*rates
authorKarl Beldan <karl.beldan@rivierawaves.com>
Thu, 18 Apr 2013 12:26:20 +0000 (14:26 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 22 Apr 2013 13:47:12 +0000 (15:47 +0200)
commit4d994314150d91ac72ad55c84d21525a8538f351
tree7b20a5bb7ef8d0f2d2555662bd110dd978cfa39a
parente3ef46aad2af805dc35646cc77b19b2508865f08
mac80211: minstrel_ht: pick only supported rates for sta and group max*rates

minstrel_ht initializes max_tp_rate max_tp_rate2 and max_prob_rate to
zero both for minstrel_ht_sta and minstrel_mcs_group_data.
This is wrong since there is no guarantee that the 1st rate of any
group is supported.

Signed-off-by: Karl Beldan <karl.beldan@rivierawaves.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rc80211_minstrel_ht.c