qcacld-3.0: RSO enable for open and secure connection

Currently rso enable for open and secure connection is handled
incorrectly.
For secure connection roaming should be enabled
after key exchange is complete.
For open connection rso enable is done twice.

Fix is for enabling roam offload for open and secure connection.

Change-Id: I0abde2a6001f176c97e4aa59947260a50c48e6cc
CRs-Fixed: 3271248
This commit is contained in:
Amruta Kulkarni
2022-08-18 16:02:34 -07:00
committed by Madan Koyyalamudi
parent 7ad653825e
commit 7a2871544b
3 changed files with 6 additions and 4 deletions

View File

@@ -46,6 +46,9 @@ static void if_mgr_enable_roaming_on_vdev(struct wlan_objmgr_pdev *pdev,
vdev_id = wlan_vdev_get_id(vdev);
curr_vdev_id = roam_arg->curr_vdev_id;
if (wlan_vdev_mlme_is_mlo_vdev(vdev))
return;
if (curr_vdev_id != vdev_id &&
vdev->vdev_mlme.vdev_opmode == QDF_STA_MODE &&
vdev->vdev_mlme.mlme_state == WLAN_VDEV_S_UP) {