iwlwifi: mvm: overwrite skb info later
authorJohannes Berg <johannes.berg@intel.com>
Fri, 2 Dec 2016 08:57:40 +0000 (09:57 +0100)
committerLuca Coelho <luciano.coelho@intel.com>
Mon, 6 Feb 2017 17:19:06 +0000 (19:19 +0200)
commitbd05a5bd6b11d7fd26a668de83c5cb996de05f8f
treec64d9714263c27beec5cff66538a2387ee2fd97f
parent6ea29ce5749687d125d56b6748fa68eee1791f6e
iwlwifi: mvm: overwrite skb info later

We don't really need clear the skb's status area nor store the
dev_cmd into it until we really commit to the frame by handing
it to the transport - defer those operations until just before
we do that.

This doesn't entirely fix the bug with frames not getting sent
out after having been deferred due to DQA, because it doesn't
restore the info->driver_data[0] place that was already set to
zero (or another value) by the A-MSDU logic.

Fixes: 24afba7690e4 ("iwlwifi: mvm: support bss dynamic alloc/dealloc of queues")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/tx.c