]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: do not decrement rx_pending count twice
authorAvinash Patil <patila@marvell.com>
Mon, 29 Sep 2014 16:14:14 +0000 (21:44 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 30 Sep 2014 17:17:46 +0000 (13:17 -0400)
commitd9f02cea9ffb3a0ac6ea2bc54bb3658ca49298a1
treedac8a24a778388ba11465ce91fab73131c2e4b20
parent2b4c9591b041af6b278ef5825d711c91e1536518
mwifiex: do not decrement rx_pending count twice

This patch fixes an issue with rx processing function where we were
decrementing rx_pending count twice.

Patch also queues correct main_work item when rx_pending count reaches
low watermark.

Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Cathy Luo <cluo@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/main.c