mwifiex: fix rx_pending count imbalance
authorUjjal Roy <royujjal@gmail.com>
Tue, 3 Dec 2013 07:17:53 +0000 (23:17 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 9 Dec 2013 20:35:29 +0000 (15:35 -0500)
commitca8d6dfc929ad6e59eb523e7c057804b55e5673e
tree6aff0899c03f73a85ddc00caf7006544c5cde4f5
parentf8eb5ee5f56f09278b80100e65df08975867f03c
mwifiex: fix rx_pending count imbalance

RX packets are handled in different paths. Not all paths have
decrement of rx_pending counter. This patch fixes the counter
imbalance.

Signed-off-by: Ujjal Roy <royujjal@gmail.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/init.c
drivers/net/wireless/mwifiex/main.h
drivers/net/wireless/mwifiex/sta_rx.c
drivers/net/wireless/mwifiex/txrx.c
drivers/net/wireless/mwifiex/uap_txrx.c
drivers/net/wireless/mwifiex/usb.c