qcacld-3.0: Send RSO stop in STA + STA roaming

In STA+STA roaming case, when primary interface is changed
and roaming is enabled on other interface rso stop will be sent.
But the roam scan mode is not set to 0.
So add check for primary interface change to reset roam scan mode
before sending RSO stop to FW.

Change-Id: Ia880b58a57b3d9b74f3c4e100d4724aac46b67cd
CRs-Fixed: 3042416
This commit is contained in:
Amruta Kulkarni
2021-09-24 09:32:23 -07:00
committed by Madan Koyyalamudi
parent 31ed06e99e
commit 9285ff8c5d

View File

@@ -2361,7 +2361,8 @@ cm_roam_scan_offload_fill_rso_configs(struct wlan_objmgr_psoc *psoc,
if (command == ROAM_SCAN_OFFLOAD_STOP) {
if (reason == REASON_ROAM_STOP_ALL ||
reason == REASON_DISCONNECTED ||
reason == REASON_ROAM_SYNCH_FAILED) {
reason == REASON_ROAM_SYNCH_FAILED ||
reason == REASON_ROAM_SET_PRIMARY) {
mode = WMI_ROAM_SCAN_MODE_NONE;
} else {
if (wlan_is_roam_offload_enabled(mlme_obj->cfg.lfr))