diff options
author | Luciano Coelho <luciano.coelho@intel.com> | 2014-11-10 11:10:17 +0200 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2014-11-24 08:30:33 +0200 |
commit | 622e3f9b71f9a97408cd751851c6588d4e6c4fd0 (patch) | |
tree | 13f0a088c88040197060719fe7b769cee19499d6 /drivers/net/wireless/iwlwifi/mvm/time-event.c | |
parent | a57c688d34a05cbc72ec8cf4f05758cbafdd9893 (diff) | |
download | blackbird-op-linux-622e3f9b71f9a97408cd751851c6588d4e6c4fd0.tar.gz blackbird-op-linux-622e3f9b71f9a97408cd751851c6588d4e6c4fd0.zip |
iwlwifi: mvm: add a channel_switch op to bypass mac80211 timer
We need to call ieee80211_chswitch_done() ourselves just when the
absence TE started, so we perform the actual context switch early
enough. To do so, add a dummy channel_switch op, which will cause
mac80211 to skip the countdown timer and allow us to call
ieee80211_chswitch_done() to complete the operation.
Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/time-event.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/mvm/time-event.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/time-event.c b/drivers/net/wireless/iwlwifi/mvm/time-event.c index 1a537be216ce..ff631cc5e5e7 100644 --- a/drivers/net/wireless/iwlwifi/mvm/time-event.c +++ b/drivers/net/wireless/iwlwifi/mvm/time-event.c @@ -207,6 +207,7 @@ iwl_mvm_te_handle_notify_csa(struct iwl_mvm *mvm, break; case NL80211_IFTYPE_STATION: iwl_mvm_csa_client_absent(mvm, te_data->vif); + ieee80211_chswitch_done(te_data->vif, true); break; default: /* should never happen */ |