]> 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)
commit5fb623666d392e0fd056e9f833c19dd0d860f965
tree7b20a5bb7ef8d0f2d2555662bd110dd978cfa39a
parent3e50c5f9668fab94f275901fcaa61f22c9171a99
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