Skip to content

Commit e1a322b

Browse files
sara-sgregkh
authored andcommitted
iwlwifi: mvm: disable P2P queue on mac context release
commit 341d7eb upstream. AP queue is properly released, but P2P queue isn't. Fixes: commit 4c96513 ("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]>
1 parent 4dfdaf3 commit e1a322b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -539,6 +539,11 @@ void iwl_mvm_mac_ctxt_release(struct iwl_mvm *mvm, struct ieee80211_vif *vif)
539539
iwl_mvm_disable_txq(mvm, IWL_MVM_OFFCHANNEL_QUEUE,
540540
IWL_MVM_OFFCHANNEL_QUEUE,
541541
IWL_MAX_TID_COUNT, 0);
542+
else
543+
iwl_mvm_disable_txq(mvm,
544+
IWL_MVM_DQA_P2P_DEVICE_QUEUE,
545+
vif->hw_queue[0], IWL_MAX_TID_COUNT,
546+
0);
542547

543548
break;
544549
case NL80211_IFTYPE_AP:

0 commit comments

Comments
 (0)