iwlwifi: mvm: refactor iwl_mvm_switch_vif_chanctx to support other modes
authorLuciano Coelho <luciano.coelho@intel.com>
Mon, 10 Nov 2014 09:10:08 +0000 (11:10 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 24 Nov 2014 06:30:26 +0000 (08:30 +0200)
commit50cc9574d60a507eff92537d8b01b9eb7b6a81bf
tree2d14bc86f8f4674a36284847e3786082d6b149f9
parent6b20d774370952790e5cebd8a297251bc1ac2df3
iwlwifi: mvm: refactor iwl_mvm_switch_vif_chanctx to support other modes

Currently we only support the CHANCTX_SWMODE_SWAP_CONTEXTS mode, but
we need to support other modes as well.  Spin a new function off in
order to make it easier to support other modes.

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