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:
Bala Venkatesh 2019-07-01 22:54:36 +05:30 • committed by nshrivas
commit 0c2393cc68

View file

@ -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 =