mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
qcacld-3.0: Clear bss_status bit in case of del_bss_resp failure
In case of WMA_DEL_STA_REQ timeout for type WMA_DELETE_BSS_RSP, directly del_bss response is posted to lim without clearing the bits like bss_status in wma. This can later lead to failure in del_sta_req of the self sta and self sta peer leak in the object manager. Hence, set the bss_status from started to stopped in case of del_bss failure. Change-Id: Ic68e6b7a59959392772fc2821d31a054778fe66b CRs-Fixed: 2478379
This commit is contained in:
parent
4a2e44de15
commit
0c2393cc68
1 changed files with 2 additions and 2 deletions
|
|
@ -3754,11 +3754,11 @@ void wma_hold_req_timer(void *data)
|
|||
|
||||
params->status = QDF_STATUS_E_TIMEOUT;
|
||||
WMA_LOGE(FL("wma delete peer for del bss req timed out"));
|
||||
|
||||
if (wma_crash_on_fw_timeout(wma->fw_timeout_crash))
|
||||
wma_trigger_recovery_assert_on_fw_timeout(
|
||||
WMA_DELETE_STA_REQ);
|
||||
wma_send_msg_high_priority(wma, WMA_DELETE_BSS_RSP,
|
||||
params, 0);
|
||||
wma_send_vdev_down_bss(wma, tgt_req);
|
||||
} else if ((tgt_req->msg_type == SIR_HAL_PDEV_SET_HW_MODE) &&
|
||||
(tgt_req->type == WMA_PDEV_SET_HW_MODE_RESP)) {
|
||||
struct sir_set_hw_mode_resp *params =
|
||||
|
|
|
|||
Loading…
Reference in a new issue