mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
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:
parent
7697dab24e
commit
f01c83d57e
1 changed files with 3 additions and 6 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Reference in a new issue