Browse Source

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 năm trước cách đây
mục cha
commit
bf3280a42a
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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;
 }