wlcore: always clear recovery flag during recovery_work
authorArik Nemtsov <arik@wizery.com>
Mon, 25 Jun 2012 19:26:20 +0000 (22:26 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 10 Jul 2012 16:10:13 +0000 (12:10 -0400)
commitb034fd6f4fa272569324bb3f29af5ca7cf1e23c3
tree8d02d283db19111d106ec7bcd924a72ced6ee671
parentaafec111dd2b74f2ec0f55f0c79144f6558d9205
wlcore: always clear recovery flag during recovery_work

If recovery is called when the FW is off, we should clear the recovery
flag. Otherwise we risk booting the driver in permanent pending-recovery
state.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wlcore/main.c