diff options
author | Karl Beldan <karl.beldan@rivierawaves.com> | 2013-11-13 23:07:07 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-11-25 16:50:10 +0100 |
commit | 351df099721e02e1a25a498268e52c0378c0e272 (patch) | |
tree | 9ae6fb4e7ae55b58ac3476c32b3fea9734aebfe1 /net/mac80211/event.c | |
parent | 6c751ef8a1a15d633cd755eafa86ede9c32b2617 (diff) |
mac80211: minstrel_ht: fix rates selection
When initializing rates selections starting indexes upon stats update,
the minstrel_sta->max_* rates should be 'group * MCS_GROUP_RATES + i'
not 'i'. This affects settings where one of the peers does not support
any of the rates of the group 0 (i.e. when ht_cap.mcs.rx_mask[0] == 0).
Signed-off-by: Karl Beldan <karl.beldan@rivierawaves.com>
Acked-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/event.c')
0 files changed, 0 insertions, 0 deletions