mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
icnss2: Avoid sending qdss_trace_mem_info to fw if it is down
Avoid sending qdss_trace_mem_info to wlan fw if it is down. Change-Id: I443fd9b36ce9037af1a77496c73964ba0fa2d1df Signed-off-by: Sandeep Singh <sandsing@codeaurora.org>
This commit is contained in:
parent
92efb2ac5a
commit
7b6cb8cfc9
1 changed files with 3 additions and 0 deletions
|
|
@ -1493,6 +1493,9 @@ int wlfw_qdss_trace_mem_info_send_sync(struct icnss_priv *priv)
|
|||
int ret = 0;
|
||||
int i;
|
||||
|
||||
if (test_bit(ICNSS_FW_DOWN, &priv->state))
|
||||
return -EINVAL;
|
||||
|
||||
icnss_pr_dbg("Sending QDSS trace mem info, state: 0x%lx\n",
|
||||
priv->state);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue