]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit72860cb9ba2a0533e6d6fd9f0f42c633ff7c3197
tree83620f84c1e4c9dccc0734e52f8bb8b952371c63
parent37b3af828c453d181b73d27e9ded2faa9f1ed487
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