4.8-stable review patch.  If anyone has any objections, please let me know.

------------------

From: Sara Sharon <[email protected]>

commit 341d7eb8223bdd48bdf75729487a2de5e01623b3 upstream.

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 <[email protected]>
Signed-off-by: Luca Coelho <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>

---
 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c |    5 +++++
 1 file changed, 5 insertions(+)

--- 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
                        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:


Reply via email to