]> git.baikalelectronics.ru Git - kernel.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)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 16 Sep 2016 06:10:25 +0000 (09:10 +0300)
commitba75174e6df224c7bcd790a5f7af59cc1503a37a
treec29d162914b9bb760f24cbd97a1382c6d9a30d62
parentfbf80349cd163293bc97b210d86c6badac7c4ead
iwlwifi: mvm: fix pending frames tracking on tx resp

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 694920074f72 ("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>
drivers/net/wireless/intel/iwlwifi/mvm/tx.c