mirror of
https://github.com/torvalds/linux.git
synced 2024-12-13 22:53:20 +00:00
wlcore: read fw panic log only in host mode
Reading FW panic log is only supported in host mode (SDIO) Signed-off-by: Barak Bercovitz <barak@wizery.com> Signed-off-by: Eliad Peller <eliad@wizery.com> Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
This commit is contained in:
parent
c83cb8031b
commit
5cc14c04c9
@ -943,7 +943,8 @@ static void wl1271_recovery_work(struct work_struct *work)
|
||||
goto out_unlock;
|
||||
|
||||
if (!test_bit(WL1271_FLAG_INTENDED_FW_RECOVERY, &wl->flags)) {
|
||||
wl12xx_read_fwlog_panic(wl);
|
||||
if (wl->conf.fwlog.output == WL12XX_FWLOG_OUTPUT_HOST)
|
||||
wl12xx_read_fwlog_panic(wl);
|
||||
wlcore_print_recovery(wl);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user