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
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue