mwifiex: mask PCIe interrupts before removal
authorBrian Norris <briannorris@chromium.org>
Thu, 30 Jun 2016 22:21:02 +0000 (15:21 -0700)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 8 Jul 2016 13:48:27 +0000 (16:48 +0300)
commitd41376ca8ba74e954ba931c69271d0b29546a202
tree823a6f9e1b25b993de635ebbfca8b43c3f0fa661
parent473dfbfa09934cea0d08cc9023c749a5fce10cb0
mwifiex: mask PCIe interrupts before removal

The PCIe driver didn't mask the host interrupts before trying to tear
down. This causes lockups at reboot or rmmod when using MSI-X on 8997,
since the MSI handler gets confused and locks up the system.

Also tested on 8897, which does not support MSI-X (and wasn't
experiencing this same bug). No regressions seen there.

Signed-off-by: Brian Norris <briannorris@chromium.org>
Tested-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/pcie.c