提交 847cbebd 编写于 作者: E Eliad Peller 提交者: Luciano Coelho

wlcore: don't stop fwlog if dbgpins are used

Due to a bug, the fw asserts on fw log stop when dbg-pins are used.
Don't stop the fw log in this case.
Signed-off-by: NEliad Peller <eliad@wizery.com>
Signed-off-by: NArik Nemtsov <arik@wizery.com>
Signed-off-by: NLuciano Coelho <coelho@ti.com>
上级 5f9b6777
...@@ -805,11 +805,13 @@ static void wl12xx_read_fwlog_panic(struct wl1271 *wl) ...@@ -805,11 +805,13 @@ static void wl12xx_read_fwlog_panic(struct wl1271 *wl)
/* /*
* Make sure the chip is awake and the logger isn't active. * Make sure the chip is awake and the logger isn't active.
* Do not send a stop fwlog command if the fw is hanged. * Do not send a stop fwlog command if the fw is hanged or if
* dbgpins are used (due to some fw bug).
*/ */
if (wl1271_ps_elp_wakeup(wl)) if (wl1271_ps_elp_wakeup(wl))
goto out; goto out;
if (!wl->watchdog_recovery) if (!wl->watchdog_recovery &&
wl->conf.fwlog.output != WL12XX_FWLOG_OUTPUT_DBG_PINS)
wl12xx_cmd_stop_fwlog(wl); wl12xx_cmd_stop_fwlog(wl);
/* Read the first memory block address */ /* Read the first memory block address */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册