qcacld-3.0: Update connect_timeout correctly in case of scan for ssid

Incase there is a scan for ssid failure connect_timeout is set to
true even when there is no BSSID has been found in the scan result.

Set the connect_timeout to false for the cases wherein there is a
scan for ssid failure.

Change-Id: I822371bbbe2a034b673798b28c993ba53468aa49
CRs-Fixed: 2404646
This commit is contained in:
Arun Kumar Khandavalli
2019-02-25 16:46:52 +05:30
committed by nshrivas
parent a574c6cc27
commit 34f69cfa51

View File

@@ -3356,7 +3356,9 @@ hdd_association_completion_handler(struct hdd_adapter *adapter,
roam_info ? roam_info ?
roam_info->bssid.bytes : roam_info->bssid.bytes :
sta_ctx->requested_bssid.bytes); sta_ctx->requested_bssid.bytes);
connect_timeout = true; if (roamResult !=
eCSR_ROAM_RESULT_SCAN_FOR_SSID_FAILURE)
connect_timeout = true;
} }
/* /*