From 12f644d482a73bea3552aef5f2154ba630c307e8 Mon Sep 17 00:00:00 2001 From: Pragaspathi Thilagaraj Date: Thu, 8 Apr 2021 15:09:34 +0530 Subject: [PATCH] qcacld-3.0: Set TWT wait for notify in concurrency TWT teardown If firmware sends the TWT teardown due to concurrent session is established, then the wait for notify flag is not set. So other commands can be sent to firmware. In case of TWT teardown due to concurrency, set the wait for notify flag. Change-Id: Ia1d5134e1c6d931f8c5ced1c011efb3489d343ad CRs-Fixed: 2919799 --- core/sme/src/common/sme_api.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/sme/src/common/sme_api.c b/core/sme/src/common/sme_api.c index 6498a1daca72..49740cc9058d 100644 --- a/core/sme/src/common/sme_api.c +++ b/core/sme/src/common/sme_api.c @@ -2213,7 +2213,8 @@ sme_process_twt_del_dialog_event(struct mac_context *mac, callback(mac->psoc, param); if (param->status == WMI_HOST_DEL_TWT_STATUS_ROAMING || - param->status == WMI_HOST_DEL_TWT_STATUS_PEER_INIT_TEARDOWN) + param->status == WMI_HOST_DEL_TWT_STATUS_PEER_INIT_TEARDOWN || + param->status == WMI_HOST_DEL_TWT_STATUS_CONCURRENCY) mlme_twt_set_wait_for_notify( mac->psoc, param->vdev_id, true);