qcacld-3.0: Handle self roam for legacy with caution

Currently while processing roam synch legacy case
is not handled properly for self-roaming case and
host is sending roam as it finds peer is
already attached to a vdev.

To address this issue don't send roam stop if peer
is attached to same vdev.

Change-Id: I75bbeb23e2b94458e0709b8b27178549c7104ea1
CRs-Fixed: 3690348
This commit is contained in:
Asutosh Mohapatra
2023-12-19 05:10:40 -08:00
committed by Ravindra Konda
parent 498498c0f6
commit 33d2fdb523

View File

@@ -78,8 +78,7 @@ cm_is_peer_preset_on_other_sta(struct wlan_objmgr_psoc *psoc,
sync_ind = (struct roam_offload_synch_ind *)event;
if (wma_objmgr_peer_exist(wma, sync_ind->bssid.bytes, &peer_vdev_id)) {
if ((!wlan_vdev_mlme_is_mlo_vdev(vdev) &&
vdev_id != peer_vdev_id) ||
if (vdev_id != peer_vdev_id &&
!mlo_check_is_given_vdevs_on_same_mld(psoc, vdev_id,
peer_vdev_id)) {
wma_debug("Peer " QDF_MAC_ADDR_FMT