mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 20:33:58 -04:00
Merge "icnss2: Avoid sending qdss_trace_mem_info to fw if it is down"
This commit is contained in:
commit
4c48eb3326
1 changed files with 3 additions and 0 deletions
|
|
@ -1496,6 +1496,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