qcacld-3.0: Upon roam synch failure, send roaming stop

Currently, the host sends a roam scan mode of
WMI_ROAM_SCAN_MODE_ROAMOFFLOAD to the firmware when roam
synch fails in the host. But the firmware expects a
WMI_ROAM_SCAN_MODE_NONE in the roam synch wait state
to respond with a HO_FAIL which will evetually lead
to a disconnection and clean up.

Change-Id: I39c768881c312ecbedf6e4a1742e3eaabcea1f4d
CRs-Fixed: 2159244
This commit is contained in:
Varun Reddy Yeturu 2017-12-14 13:51:45 -08:00 • committed by snandini
commit 91cbd1db84

View file

@ -2819,7 +2819,7 @@ cleanup_label:
roam_req = qdf_mem_malloc(sizeof(tSirRoamOffloadScanReq));
if (roam_req && synch_event) {
roam_req->Command = ROAM_SCAN_OFFLOAD_STOP;
roam_req->reason = REASON_ROAM_SYNCH_FAILED;
roam_req->reason = REASON_ROAM_STOP_ALL;
roam_req->sessionId = synch_event->vdev_id;
wma_process_roaming_config(wma, roam_req);
}