Преглед на файлове

qcacld-3.0: Fix rrm_close() param

Currently sme_close() passes a tHalHandle to rrm_close(), but a
tpAniSirGlobal is expected. This currently compiles OK because
tHalHandle is defined to be a void pointer, but this will be changed
in the future so correct the call to pass the correct parameter.

Change-Id: I51e19f9699ba8fe6db2318a59284b0fcc9185a6d
CRs-Fixed: 2262688
Jeff Johnson преди 6 години
родител
ревизия
3639a6415b
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      core/sme/src/common/sme_api.c

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

@@ -2559,7 +2559,7 @@ QDF_STATUS sme_close(tHalHandle hHal)
 		fail_status = status;
 	}
 
-	status = rrm_close(hHal);
+	status = rrm_close(pMac);
 	if (!QDF_IS_STATUS_SUCCESS(status)) {
 		sme_err("RRM close failed with status: %d", status);
 		fail_status = status;