Sfoglia il codice sorgente

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
Arun Kumar Khandavalli 6 anni fa
parent
commit
34f69cfa51
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 3 1
      core/hdd/src/wlan_hdd_assoc.c

+ 3 - 1
core/hdd/src/wlan_hdd_assoc.c

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