iwlwifi: mvm: use switching_chanctx argument instead of csa_active
authorLuciano Coelho <luciano.coelho@intel.com>
Mon, 10 Nov 2014 09:10:13 +0000 (11:10 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 24 Nov 2014 06:30:30 +0000 (08:30 +0200)
commit4741dd049a27fa6490e502d42ff51417c58ac7cd
treeda29e15fc6e67ad7052cc923e2ce49531e0e2c7e
parentf6c34820d36c7d385bd0b87bb2afeb0106e7ab8c
iwlwifi: mvm: use switching_chanctx argument instead of csa_active

Now that all CSA flows are using the switch_vif_chanctx op, we can
rely on the switching_chanctx boolean that is passed to the
__iwl_mvm_assign_vif_chanctx() and __iwl_mvm_unassign_vif_chanctx()
functions to decide whether the context switch flows need to be
executed.  In this way we make the chanctx switch flow more generic,
without having to rely on the csa_active flag being set.

Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
drivers/net/wireless/iwlwifi/mvm/mac80211.c