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
This commit is contained in:
Sandeep puligilla
2016-04-25 18:43:51 -07:00
committed by Gerrit - the friendly Code Review server
parent 9bc0cad386
commit bf3280a42a

View File

@@ -7244,6 +7244,8 @@ void csr_scan_active_list_timeout_handle(void *userData)
FL(" Failed to post message to LIM")); FL(" Failed to post message to LIM"));
qdf_mem_free(msg); 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); csr_release_scan_command(mac_ctx, scan_cmd, eCSR_SCAN_FAILURE);
return; return;
} }