commit | 351df099721e02e1a25a498268e52c0378c0e272 | [log] [tgz] |
---|---|---|
author | Karl Beldan <karl.beldan@rivierawaves.com> | Wed Nov 13 23:07:07 2013 +0100 |
committer | Johannes Berg <johannes.berg@intel.com> | Mon Nov 25 16:50:10 2013 +0100 |
tree | 9ae6fb4e7ae55b58ac3476c32b3fea9734aebfe1 | |
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>