Skip to content

Commit

Permalink
iwlwifi: mvm: disable P2P queue on mac context release
Browse files Browse the repository at this point in the history
BugLink: http://bugs.launchpad.net/bugs/1638748

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 <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
  • Loading branch information
sara-s authored and Luis Henriques committed Nov 8, 2016
1 parent 1a533ea commit f80fc26
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit f80fc26

Please sign in to comment.