qcacld-3.0: Handle fast reassoc with mac address set to zero

When fast reassoc command is received with bssid
and channel frequency set to zero, if no candidate
found, STA DUT should disconnect.
Currently STA DUT stays on the same AP.

Fix is to add bssid zero check and disconnect from
current AP.

Change-Id: Id6a26703929f7783e852bb42eebd57f5d5ba8b13
CRs-Fixed: 3433308
This commit is contained in:
Amruta Kulkarni
2023-03-16 09:44:46 -07:00
committed by Madan Koyyalamudi
parent 2da0f0d370
commit 095e152d33

View File

@@ -1258,7 +1258,8 @@ cm_disconnect_roam_abort_fail(struct wlan_objmgr_vdev *vdev,
if (source == CM_ROAMING_HOST ||
(source == CM_ROAMING_NUD_FAILURE && nud_disconnect) ||
source == CM_ROAMING_LINK_REMOVAL)
source == CM_ROAMING_LINK_REMOVAL ||
qdf_is_macaddr_zero(bssid))
status = mlo_disconnect(vdev, CM_ROAM_DISCONNECT,
REASON_USER_TRIGGERED_ROAM_FAILURE,
NULL);