]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
iwlwifi: mvm: fix pending frames tracking on tx resp
authorLiad Kaufman <liad.kaufman@intel.com>
Thu, 7 Jul 2016 08:00:26 +0000 (11:00 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 31 Oct 2016 11:02:13 +0000 (05:02 -0600)
commitc8058c456d48b6a12d6ae1aff055473ed68dbe2a
treefe74f3280afbfcb38dc8e16679264d01086c3171
parent8a0b49af92c655b72f37bb445a3b8748de1160dc
iwlwifi: mvm: fix pending frames tracking on tx resp

commit 7585c354637bb003ce612dd22f5047c015545ef4 upstream.

In iwl_mvm_rx_tx_cmd_single(), when checking if a given TID is
aggregated, the driver doesn't check whether or not the queue
itself can be aggregated. For example, a management queue might
be marked as aggregated if TID 0 is aggregated on a (different)
data queue.

Make sure that mgmt frames are sent with TID IWL_TID_NON_QOS,
and in this way make sure no mixups of this sort happen.

Fixes: commit 24afba7690e4 ("iwlwifi: mvm: support bss dynamic alloc/dealloc of queues")
Signed-off-by: Liad Kaufman <liad.kaufman@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/intel/iwlwifi/mvm/tx.c