mwifiex: fix interrupt processing corner case in MSI mode
authorShengzhen Li <szli@marvell.com>
Fri, 1 Jul 2016 12:56:52 +0000 (18:26 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 8 Jul 2016 13:49:13 +0000 (16:49 +0300)
commit5781fc29dbbd3ee5e11c1bf4fa6696ae89d19840
tree27e151aaf1c04049f6627c21f49edb47eca5de0d
parentd41376ca8ba74e954ba931c69271d0b29546a202
mwifiex: fix interrupt processing corner case in MSI mode

As interrupt is read in interrupt handler as well as interrupt processing
thread, we observed a corner case issue for MSI in which interrupt gets
processed twice.

This patch moves interrupt reading code for MSI mode from
mwifiex_interrupt_status() to mwifiex_pcie_process_int() to avoid the
issue.

Signed-off-by: Shengzhen Li <szli@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/pcie.c