From aea3e6a4be399219629eca0dd1abc2675c7863c3 Mon Sep 17 00:00:00 2001 From: Karthik Kantamneni Date: Mon, 15 Feb 2021 22:37:47 +0530 Subject: [PATCH] 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 --- core/dp/txrx3.0/dp_fisa_rx.c | 4 ++-- core/dp/txrx3.0/dp_rx_fst.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/dp/txrx3.0/dp_fisa_rx.c b/core/dp/txrx3.0/dp_fisa_rx.c index 71aaa98f325d..f9a8dca94770 100644 --- a/core/dp/txrx3.0/dp_fisa_rx.c +++ b/core/dp/txrx3.0/dp_fisa_rx.c @@ -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; } } diff --git a/core/dp/txrx3.0/dp_rx_fst.c b/core/dp/txrx3.0/dp_rx_fst.c index aea89e98853a..6ae2b7d48fa1 100644 --- a/core/dp/txrx3.0/dp_rx_fst.c +++ b/core/dp/txrx3.0/dp_rx_fst.c @@ -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; } }