iwlwifi: mvm: don't send fetch the TID from a non-QoS packet in TSO
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 20 Jun 2017 13:05:30 +0000 (16:05 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Thu, 29 Jun 2017 17:39:29 +0000 (20:39 +0300)
commit4f555e602b42826b3d79081c9ef8b8e8fe29fc49
tree6b17f4d3fb28de0576ea6684b89b50c77e8ef93d
parent32026e8f709ff29bd00cce58036da8381eaa7592
iwlwifi: mvm: don't send fetch the TID from a non-QoS packet in TSO

Getting the TID of a packet before we know it is a QoS data
packet isn't a good idea. Delay the TID retrieval until
we know the packet is a QoS data packet.

Fixes: bb81bb68f472 ("iwlwifi: mvm: add Tx A-MSDU inside A-MPDU")
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/tx.c