From d4f5f2e9323772210e9973d2a2f8372e7988e496 Mon Sep 17 00:00:00 2001 From: Srinivas Girigowda Date: Wed, 12 May 2021 15:30:06 -0700 Subject: [PATCH] qcacld-3.0: Do not wait for TWT notify for peer initiated teardown TWT notify event from firmware is expected only if the teardown is initiated by the firmware during scenarios like (roaming in progress, etc). If the TWT teardown is initiated by the peer then notify WMI event is not expected from the firmware. Change-Id: Ic13a4858fb06d023d5e71da10320a546a1dcf80d CRs-Fixed: 2944663 --- core/sme/src/common/sme_api.c | 1 - 1 file changed, 1 deletion(-) diff --git a/core/sme/src/common/sme_api.c b/core/sme/src/common/sme_api.c index f45b9f5ee29a..b2e142796005 100644 --- a/core/sme/src/common/sme_api.c +++ b/core/sme/src/common/sme_api.c @@ -2213,7 +2213,6 @@ 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_CONCURRENCY) mlme_twt_set_wait_for_notify( mac->psoc, param->vdev_id, true);