wlcore: Disable interrupts while recovering
authorIdo Yariv <ido@wizery.com>
Sun, 20 May 2012 22:10:11 +0000 (01:10 +0300)
committerLuciano Coelho <coelho@ti.com>
Fri, 22 Jun 2012 07:46:34 +0000 (10:46 +0300)
commitb666bb7f2fe2bdc0309b0d58afb48eae85d92221
tree83620f84c1e4c9dccc0734e52f8bb8b952371c63
parent645865fc377c9ac73df590abf8e6af65824390a3
wlcore: Disable interrupts while recovering

In case a recovery is initiated, the FW can no longer be trusted, and
the driver should not handle any new FW events.

Disable the interrupt handler when a recovery is scheduled and balance
it back in the op_stop callback.

Signed-off-by: Ido Yariv <ido@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wlcore/io.c
drivers/net/wireless/ti/wlcore/io.h
drivers/net/wireless/ti/wlcore/main.c