wlcore: don't issue SLEEP_AUTH command during recovery
authorArik Nemtsov <arik@wizery.com>
Tue, 10 Jul 2012 07:45:01 +0000 (10:45 +0300)
committerLuciano Coelho <coelho@ti.com>
Wed, 18 Jul 2012 12:08:21 +0000 (15:08 +0300)
commit42066f9a5ffc212ec0ff5c23ed2fb92464191543
treea4d7f25f6b51a6be182e22dae39e32690cf270c2
parent602c7595a1560c0dea795759193b6e3a6246ea31
wlcore: don't issue SLEEP_AUTH command during recovery

During interface removal, don't adjust sleep_auth if we are during
recovery. Since the FW is potentially dead we shouldn't talk to it.

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