wlcore: do not send stop fwlog cmd if fw is hanged
authorYoni Divinsky <yoni.divinsky@ti.com>
Wed, 16 May 2012 08:34:18 +0000 (11:34 +0300)
committerLuciano Coelho <coelho@ti.com>
Wed, 6 Jun 2012 16:28:06 +0000 (19:28 +0300)
commitafbe37185c0ecad3442791be666b6851eba52318
tree67f9c5f365f2ad0831a200a5f9e8b89e8548e885
parenta1c597f2b22cdc228de3c58784b00e80b9b53e03
wlcore: do not send stop fwlog cmd if fw is hanged

If the driver received a watchdog interrupt then the
assumption is that the fw is hanged. Avoid sending
the stop fwlog command in case of a watchdog recovey
to avoid waiting for the 2 seconds timeout of the command.

Signed-off-by: Yoni Divinsky <yoni.divinsky@ti.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wlcore/main.c
drivers/net/wireless/ti/wlcore/wlcore.h