From cf1c203b71f873128aa6b1e3aab1d767ef515ff9 Mon Sep 17 00:00:00 2001 From: Lincoln Tran Date: Wed, 22 Sep 2021 16:57:31 -0700 Subject: [PATCH] qcacld-3.0: Clear MLO cap bit on disconnect complete When disconnect completes, clear the MLO capability bit. This ensures that a legacy connection can happen successfully after an ML connection. Change-Id: I7eca69b8a0b0f7018326681be14197b3482e859d CRs-fixed: 3049289 --- core/hdd/src/wlan_hdd_cm_disconnect.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/hdd/src/wlan_hdd_cm_disconnect.c b/core/hdd/src/wlan_hdd_cm_disconnect.c index 960801f002..1255f7eb70 100644 --- a/core/hdd/src/wlan_hdd_cm_disconnect.c +++ b/core/hdd/src/wlan_hdd_cm_disconnect.c @@ -324,6 +324,8 @@ hdd_cm_disconnect_complete_pre_user_update(struct wlan_objmgr_vdev *vdev, hdd_handle_disassociation_event(adapter, &rsp->req.req.bssid); + wlan_vdev_mlme_feat_ext2_cap_clear(vdev, WLAN_VDEV_FEXT2_MLO); + wlan_rec_conn_info(adapter->vdev_id, DEBUG_CONN_DISCONNECT_HANDLER, rsp->req.req.bssid.bytes, rsp->req.cm_id,