Explorar o código

qcacld-3.0: Correctly call csr_scan_get_result_for_bssid()

Currently sme_scan_get_result_for_bssid() passes a tHalHandle to
csr_scan_get_result_for_bssid(), but a tpAniSirGlobal is expected, so
correct the call to pass the correct parameter.

Change-Id: I7fd7c06f320e14278cb621415bc4631d9c83b5d4
CRs-Fixed: 2268801
Jeff Johnson %!s(int64=6) %!d(string=hai) anos
pai
achega
1b56f6bfc9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      core/sme/src/common/sme_api.c

+ 1 - 1
core/sme/src/common/sme_api.c

@@ -2613,7 +2613,7 @@ QDF_STATUS sme_scan_get_result_for_bssid(tHalHandle hal_handle,
 
 	status = sme_acquire_global_lock(&mac_ctx->sme);
 	if (QDF_IS_STATUS_SUCCESS(status)) {
-		status = csr_scan_get_result_for_bssid(hal_handle, bssid, res);
+		status = csr_scan_get_result_for_bssid(mac_ctx, bssid, res);
 		sme_release_global_lock(&mac_ctx->sme);
 	}