浏览代码

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 年之前
父节点
当前提交
34f69cfa51
共有 1 个文件被更改,包括 3 次插入1 次删除
  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;
 		}
 
 		/*