mwifiex: do not decrease tx_pending for AMSDU packet once more
commitec264a43029ff0754270864e5a93dcdaeea276d7
authorXinming Hu <huxm@marvell.com>
Wed, 3 Jun 2015 11:29:47 +0000 (3 16:59 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 8 Jun 2015 08:42:05 +0000 (8 11:42 +0300)
tree686163d3091841d67f18713599fd75a9d6762728
parent719a25e33153bcfe842243710826f1426c7accfc
mwifiex: do not decrease tx_pending for AMSDU packet once more

Negative adapter->tx_pending is observed while running data traffic,
because tx_pending is decreased once more for AMSDU packet.

since tx_pending have been decreased for all the source MSDU packets,
we don't need to update once more for AMSDU packet.

Signed-off-by: Xinming Hu <huxm@marvell.com>
Signed-off-by: Cathy Luo <cluo@marvell.com>
Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mwifiex/txrx.c