|
@@ -914,6 +914,21 @@ out:
|
|
|
IWL_DEBUG_MAC80211(priv, "leave\n");
|
|
|
}
|
|
|
|
|
|
+void iwl_chswitch_done(struct iwl_priv *priv, bool is_success)
|
|
|
+{
|
|
|
+ /*
|
|
|
+ * MULTI-FIXME
|
|
|
+ * See iwlagn_mac_channel_switch.
|
|
|
+ */
|
|
|
+ struct iwl_rxon_context *ctx = &priv->contexts[IWL_RXON_CTX_BSS];
|
|
|
+
|
|
|
+ if (test_bit(STATUS_EXIT_PENDING, &priv->status))
|
|
|
+ return;
|
|
|
+
|
|
|
+ if (test_and_clear_bit(STATUS_CHANNEL_SWITCH_PENDING, &priv->status))
|
|
|
+ ieee80211_chswitch_done(ctx->vif, is_success);
|
|
|
+}
|
|
|
+
|
|
|
static void iwlagn_configure_filter(struct ieee80211_hw *hw,
|
|
|
unsigned int changed_flags,
|
|
|
unsigned int *total_flags,
|