wlcore: Allow memory access when the FW crashes
authorIdo Yariv <ido@wizery.com>
Tue, 21 Aug 2012 14:17:13 +0000 (17:17 +0300)
committerLuciano Coelho <luca@coelho.fi>
Thu, 27 Sep 2012 09:13:53 +0000 (12:13 +0300)
commitd556023895c8968fd97ccb08300006b78975a23b
tree589fea6423d4c50ea6af7ddd801da415e94ea77f
parent001e39a8effd5a9774153ca6ca67849a93b95852
wlcore: Allow memory access when the FW crashes

When the no_recovery flag is used, the recovery work will not restart
the FW and the state will not be set to 'on'. To enable post-mortem
analysis, allow memory access in the 'restarting' state.

Also, since the FW might not be operational, don't fail the read/write
operations if elp_wakeup fails.

Reported-by: Arkady Miasnikov <a-miasnikov@ti.com>
Signed-off-by: Ido Yariv <ido@wizery.com>
Signed-off-by: Luciano Coelho <luca@coelho.fi>
drivers/net/wireless/ti/wlcore/debugfs.c