mwifiex: fix NULL packet downloading issues
authorAmitkumar Karwar <akarwar@marvell.com>
Fri, 30 Jan 2015 08:40:06 +0000 (00:40 -0800)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 3 Feb 2015 13:28:54 +0000 (15:28 +0200)
commit0ea3186ce03cfa9b1c5cb8677ac3ffcd19695cd7
treea93049d12699089e8c5acaa06598592bd191bfb8
parent7a1f4e61eb6417aecd20822a5f15e72d21c7f3f9
mwifiex: fix NULL packet downloading issues

This patch makes sure that skb is freed after downloading
NULL packet in error cases. Also, USB chipsets return
-EINPROGRESS after downloading packets, they are freed in
USB completion handler later. We will add missing change
to set tx_lock_flag for USB which blocks further packets.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Cathy Luo <cluo@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mwifiex/sta_tx.c