From: Johannes Berg Date: Fri, 1 Mar 2013 16:33:18 +0000 (+0100) Subject: mac80211: fix VHT MCS calculation X-Git-Tag: v3.9-rc3~36^2~28^2^2~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24af717c35189f7a83c34e637256ccb7295a617b;p=pandora-kernel.git mac80211: fix VHT MCS calculation The VHT MCSes we advertise to the AP were supposed to be restricted to the AP, but due to a bug in the logic mac80211 will advertise rates to the AP that aren't even supported by the local device. To fix this skip any adjustment if the NSS isn't supported at all. Signed-off-by: Johannes Berg --- Reading git-diff-tree failed