qcacmn: Avoid host panic on vdev request timeout
Avoid host panic on vdev request timeout when target assert is triggered and trigger target assert using RECOVERY_SIM_ASSERT, else host panic is not allowing target dump in lithium case. Change-Id: I32c2de358ec8839ad7a522c31dd359436ba16d08 CRs-Fixed: 2515401
This commit is contained in:
@@ -140,13 +140,10 @@ static void target_if_vdev_mgr_rsp_timer_cb(void *arg)
|
||||
wlan_psoc_get_id(psoc), vdev_id,
|
||||
string_from_rsp_bit(rsp_pos));
|
||||
qdf_mem_set(¶m, sizeof(param), 0);
|
||||
/* RECOVERY_SIM_SELF_RECOVERY */
|
||||
param.type = 0x08;
|
||||
/* RECOVERY_SIM_ASSERT */
|
||||
param.type = 0x01;
|
||||
wmi_crash_inject(wmi_handle, ¶m);
|
||||
}
|
||||
|
||||
/* Host panic to collect host stacktrace */
|
||||
if (target_if_vdev_mgr_is_panic_on_bug()) {
|
||||
} else if (target_if_vdev_mgr_is_panic_on_bug()) {
|
||||
QDF_DEBUG_PANIC("PSOC_%d VDEV_%d: Panic, %s response timeout",
|
||||
wlan_psoc_get_id(psoc),
|
||||
vdev_id, string_from_rsp_bit(rsp_pos));
|
||||
|
Reference in New Issue
Block a user