qcacld-3.0: Send Roam scan mode value 0 to disable roaming

When RSO stop is sent to firmware, if reason is disconnect
or driver internally disabled roam, the Roam scan mode should
be 0, but driver is sending value as 4. This causes firmware
to have roam offload registered on 2 vdevs for targets where
simultaneous roaming is not enabled.

Pass the proper reason code to fill roam scan mode config
while sending RSO stop.

Change-Id: I0bc3674526663742cc3c3fc85076698f3dcaa197
CRs-Fixed: 2833353
This commit is contained in:
Pragaspathi Thilagaraj
2020-12-22 13:01:38 +05:30
committed by snandini
parent 520a99fa35
commit 4f615b04fb

View File

@@ -18169,7 +18169,7 @@ wlan_cm_roam_fill_stop_req(struct wlan_objmgr_psoc *psoc, uint8_t vdev_id,
&req->rso_config,
NULL,
ROAM_SCAN_OFFLOAD_STOP,
reason);
req->reason);
return status;
}