From: Karl Beldan Date: Wed, 13 Nov 2013 22:07:07 +0000 (+0100) Subject: mac80211: minstrel_ht: fix rates selection X-Git-Tag: v3.13-rc4~3^2~64^2^2~7^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=351df099721e02e1a25a498268e52c0378c0e272;p=pandora-kernel.git 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 Acked-by: Felix Fietkau Signed-off-by: Johannes Berg --- Reading git-diff-tree failed