summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ti/wlcore/io.h
diff options
context:
space:
mode:
authorIdo Yariv <ido@wizery.com>2012-05-21 02:10:11 +0400
committerLuciano Coelho <coelho@ti.com>2012-06-22 11:46:34 +0400
commitb666bb7f2fe2bdc0309b0d58afb48eae85d92221 (patch)
tree83620f84c1e4c9dccc0734e52f8bb8b952371c63 /drivers/net/wireless/ti/wlcore/io.h
parent645865fc377c9ac73df590abf8e6af65824390a3 (diff)
downloadlinux-b666bb7f2fe2bdc0309b0d58afb48eae85d92221.tar.xz
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>
Diffstat (limited to 'drivers/net/wireless/ti/wlcore/io.h')
-rw-r--r--drivers/net/wireless/ti/wlcore/io.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ti/wlcore/io.h b/drivers/net/wireless/ti/wlcore/io.h
index 404cb14458eb..bbaf7117204e 100644
--- a/drivers/net/wireless/ti/wlcore/io.h
+++ b/drivers/net/wireless/ti/wlcore/io.h
@@ -45,6 +45,7 @@
struct wl1271;
void wlcore_disable_interrupts(struct wl1271 *wl);
+void wlcore_disable_interrupts_nosync(struct wl1271 *wl);
void wlcore_enable_interrupts(struct wl1271 *wl);
void wl1271_io_reset(struct wl1271 *wl);