]> git.itanic.dy.fi Git - linux-stable/commit
iwlwifi: mvm: overwrite skb info later
authorJohannes Berg <johannes.berg@intel.com>
Fri, 2 Dec 2016 08:57:40 +0000 (09:57 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 14 May 2017 12:08:23 +0000 (14:08 +0200)
commit7e375d6d605645b31480d70f6c12b2c67d71404c
tree49bd10a39118802d5ac56ddffe37ba7be95494a5
parent827181091199a46ed986fea4fbc3021becc214a0
iwlwifi: mvm: overwrite skb info later

commit bd05a5bd6b11d7fd26a668de83c5cb996de05f8f upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/intel/iwlwifi/mvm/tx.c