From: Sara Sharon <sara.sha...@intel.com>

AP queue is properly released, but P2P queue isn't.

Fixes: commit 4c965139a3cd ("iwlwifi: mvm: support p2p device frames tx on dqa 
queue #2")
Signed-off-by: Sara Sharon <sara.sha...@intel.com>
Signed-off-by: Luca Coelho <luciano.coe...@intel.com>
---
 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c 
b/drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c
index 69c42ce..d742d27 100644
--- a/drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c
+++ b/drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c
@@ -539,6 +539,11 @@ void iwl_mvm_mac_ctxt_release(struct iwl_mvm *mvm, struct 
ieee80211_vif *vif)
                        iwl_mvm_disable_txq(mvm, IWL_MVM_OFFCHANNEL_QUEUE,
                                            IWL_MVM_OFFCHANNEL_QUEUE,
                                            IWL_MAX_TID_COUNT, 0);
+               else
+                       iwl_mvm_disable_txq(mvm,
+                                           IWL_MVM_DQA_P2P_DEVICE_QUEUE,
+                                           vif->hw_queue[0], IWL_MAX_TID_COUNT,
+                                           0);
 
                break;
        case NL80211_IFTYPE_AP:
-- 
2.9.3

Reply via email to