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)
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

Simple merge