qcacld-3.0: Call qdf_check_state_before_panic with additional debug info

Call qdf_check_state_before_panic with caller function name and
line number details.

Change-Id: I9fb4b382576e52bc1ad7e316bd09e3124e8fce98
CRs-Fixed: 2857671
This commit is contained in:
Karthik Kantamneni 2021-02-15 22:37:47 +05:30 • committed by snandini
commit aea3e6a4be
2 changed files with 4 additions and 4 deletions

View file

@ -816,7 +816,7 @@ void dp_fisa_rx_fst_update_work(void *arg)
if (hif_force_wake_request(((struct hal_soc *)hal_soc_hdl)->hif_handle)) {
dp_err("Wake up request failed");
qdf_check_state_before_panic();
qdf_check_state_before_panic(__func__, __LINE__);
return;
}
@ -832,7 +832,7 @@ void dp_fisa_rx_fst_update_work(void *arg)
if (hif_force_wake_release(((struct hal_soc *)hal_soc_hdl)->hif_handle)) {
dp_err("Wake up release failed");
qdf_check_state_before_panic();
qdf_check_state_before_panic(__func__, __LINE__);
return;
}
}

View file

@ -47,7 +47,7 @@ void dp_rx_dump_fisa_table(struct dp_soc *soc)
if (hif_force_wake_request(((struct hal_soc *)hal_soc_hdl)->hif_handle)) {
dp_err("Wake up request failed");
qdf_check_state_before_panic();
qdf_check_state_before_panic(__func__, __LINE__);
return;
}
@ -57,7 +57,7 @@ void dp_rx_dump_fisa_table(struct dp_soc *soc)
if (hif_force_wake_release(((struct hal_soc *)hal_soc_hdl)->hif_handle)) {
dp_err("Wake up release failed");
qdf_check_state_before_panic();
qdf_check_state_before_panic(__func__, __LINE__);
return;
}
}