]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commitc2eb5b0f342c9b1c2e1d77680af71940fc997779
tree7b20a5bb7ef8d0f2d2555662bd110dd978cfa39a
parent06f95e66deca680ff73076914b6ee47bcbe94926
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