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
Šī revīzija ir iekļauta:
Srinivas Girigowda
2021-05-12 15:30:06 -07:00
revīziju iesūtīja Madan Koyyalamudi
vecāks 1a3b66cbdd
revīzija 807bf953e8

Parādīt failu

@@ -2097,7 +2097,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);