From: Luciano Coelho Date: Tue, 13 May 2014 14:33:38 +0000 (+0300) Subject: iwlwifi: mvm: pass force_assoc_off all the way down to avoid hacks X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~122^2^2~16^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bca49d9a220b2f277f8e6000ac3a9d129d88972c;p=pandora-kernel.git iwlwifi: mvm: pass force_assoc_off all the way down to avoid hacks In some cases, we need to force the association to be off in the MAC_CONTEXT_CMD command we send to the firmware. Instead of having to hack the vif->bss_conf.assoc value, pass it all the way down the call chain. Additionally, for the iwl_mvm_mac_ctxt_add() case, we *always* set forced_assoc_off to true, so we can remove the hack in the d3 code that was forcing it to off by hacking the bss_conf.assoc value. Signed-off-by: Luciano Coelho Reviewed-by: Johannes Berg Signed-off-by: Emmanuel Grumbach --- Reading git-diff-tree failed