icnss2: Do not send QMI_WLFW_WFC_CALL_STATUS_REQ_V01 msg post WLAN MODE_OFF
Do not send QMI_WLFW_WFC_CALL_STATUS_REQ_V01 msg post WLAN MODE_OFF to avoid FW crash. Change-Id: I756b2aeb4241385d4f64f398ca13c8dace78d1b3 CRs-Fixed: 3754244
This commit is contained in:

committed by
Ravindra Konda

parent
e60f66098e
commit
ae9e2e6bd5
@@ -2806,7 +2806,8 @@ static int icnss_wlfw_wfc_call_status_send_sync
|
||||
struct qmi_txn txn;
|
||||
int ret = 0;
|
||||
|
||||
if (!test_bit(ICNSS_FW_READY, &priv->state)) {
|
||||
if (!test_bit(ICNSS_FW_READY, &priv->state) ||
|
||||
!test_bit(ICNSS_MODE_ON, &priv->state)) {
|
||||
icnss_pr_err("Drop IMS WFC indication as FW not initialized\n");
|
||||
return -EINVAL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user