From: Avri Altman Date: Tue, 12 Nov 2013 17:16:03 +0000 (+0200) Subject: iwlwifi: mvm: fix ht protection flags X-Git-Tag: v3.14-rc1~94^2~482^2^2~10^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a5e3660c645200ca5d965903c73b97fb86c9518;p=pandora-kernel.git iwlwifi: mvm: fix ht protection flags The HT protection flags have been a mess for a long time, this patch fixes all this. The proper source of information for this is the protection in the HT operation mode IE which is propagated to bss_conf by mac80211. 1) No need to set the HT protection flags when the link doesn't support HT. 2) We need to set the TGG protection when ERP is active. Signed-off-by: Avri Altman Reviewed-by: Johannes Berg Signed-off-by: Emmanuel Grumbach --- Reading git-diff-tree failed