]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4cea21d8b5d01e60b825274efa436206cf526300
tree589fea6423d4c50ea6af7ddd801da415e94ea77f
parentda940d21f8c771f0c8e9dcec04fddb033d3ded85
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