projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c83cb80
)
wlcore: read fw panic log only in host mode
author
Barak Bercovitz
<barak@wizery.com>
Mon, 9 Sep 2013 09:24:39 +0000
(12:24 +0300)
committer
Luciano Coelho
<luciano.coelho@intel.com>
Wed, 23 Oct 2013 06:47:42 +0000
(09:47 +0300)
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>
drivers/net/wireless/ti/wlcore/main.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ti/wlcore/main.c
b/drivers/net/wireless/ti/wlcore/main.c
index a742860349df4e59e7b4ed33ad1665d55e60eeec..53bb353e86532aa467f637db111f7c4a6172c724 100644
(file)
--- a/
drivers/net/wireless/ti/wlcore/main.c
+++ b/
drivers/net/wireless/ti/wlcore/main.c
@@
-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);
}