瀏覽代碼

qcacld-3.0: Save scan results in scan timeout failure

Scan results are not updated to NL when scan times out.
Intermediate SME scan cache entries are dropped at LIM in failure
scenario.

Save scan results in SME global cache before sending the abort
indication to upper layers in scan timeout scenario.

Change-Id: I0f42f4264bfe275b38027998b23a061b9cea135f
CRs-Fixed: 997587
Sandeep puligilla 9 年之前
父節點
當前提交
bf3280a42a
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      core/sme/src/csr/csr_api_scan.c

+ 2 - 0
core/sme/src/csr/csr_api_scan.c

@@ -7244,6 +7244,8 @@ void csr_scan_active_list_timeout_handle(void *userData)
 			FL(" Failed to post message to LIM"));
 		qdf_mem_free(msg);
 	}
+	csr_save_scan_results(mac_ctx, scan_cmd->u.scanCmd.reason,
+		scan_cmd->sessionId);
 	csr_release_scan_command(mac_ctx, scan_cmd, eCSR_SCAN_FAILURE);
 	return;
 }