aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi')
-rw-r--r--drivers/net/wireless/iwlwifi/mvm/mac80211.c3
-rw-r--r--drivers/net/wireless/iwlwifi/mvm/mvm.h5
2 files changed, 3 insertions, 5 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/mac80211.c b/drivers/net/wireless/iwlwifi/mvm/mac80211.c
index 0bd3373315ec..810b6d317b24 100644
--- a/drivers/net/wireless/iwlwifi/mvm/mac80211.c
+++ b/drivers/net/wireless/iwlwifi/mvm/mac80211.c
@@ -3711,8 +3711,7 @@ static int iwl_mvm_pre_channel_switch(struct ieee80211_hw *hw,
3711 IWL_DEBUG_MAC80211(mvm, "pre CSA to freq %d\n", 3711 IWL_DEBUG_MAC80211(mvm, "pre CSA to freq %d\n",
3712 chsw->chandef.center_freq1); 3712 chsw->chandef.center_freq1);
3713 3713
3714 iwl_fw_dbg_trigger_simple_stop(mvm, vif, FW_DBG_TRIGGER_CHANNEL_SWITCH, 3714 iwl_fw_dbg_trigger_simple_stop(mvm, vif, FW_DBG_TRIGGER_CHANNEL_SWITCH);
3715 NULL, 0);
3716 3715
3717 switch (vif->type) { 3716 switch (vif->type) {
3718 case NL80211_IFTYPE_AP: 3717 case NL80211_IFTYPE_AP:
diff --git a/drivers/net/wireless/iwlwifi/mvm/mvm.h b/drivers/net/wireless/iwlwifi/mvm/mvm.h
index a3f2078e8dcd..500064f5d8f1 100644
--- a/drivers/net/wireless/iwlwifi/mvm/mvm.h
+++ b/drivers/net/wireless/iwlwifi/mvm/mvm.h
@@ -1516,8 +1516,7 @@ iwl_fw_dbg_trigger_check_stop(struct iwl_mvm *mvm,
1516static inline void 1516static inline void
1517iwl_fw_dbg_trigger_simple_stop(struct iwl_mvm *mvm, 1517iwl_fw_dbg_trigger_simple_stop(struct iwl_mvm *mvm,
1518 struct ieee80211_vif *vif, 1518 struct ieee80211_vif *vif,
1519 enum iwl_fw_dbg_trigger trig, 1519 enum iwl_fw_dbg_trigger trig)
1520 const char *str, size_t len)
1521{ 1520{
1522 struct iwl_fw_dbg_trigger_tlv *trigger; 1521 struct iwl_fw_dbg_trigger_tlv *trigger;
1523 1522
@@ -1528,7 +1527,7 @@ iwl_fw_dbg_trigger_simple_stop(struct iwl_mvm *mvm,
1528 if (!iwl_fw_dbg_trigger_check_stop(mvm, vif, trigger)) 1527 if (!iwl_fw_dbg_trigger_check_stop(mvm, vif, trigger))
1529 return; 1528 return;
1530 1529
1531 iwl_mvm_fw_dbg_collect_trig(mvm, trigger, str, len); 1530 iwl_mvm_fw_dbg_collect_trig(mvm, trigger, NULL, 0);
1532} 1531}
1533 1532
1534#endif /* __IWL_MVM_H__ */ 1533#endif /* __IWL_MVM_H__ */