浏览代码

qcacld-3.0: Correctly call csr_scan_flush_selective_result()

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

Change-Id: Ibee01bb0606fc3d8a294b455f09c76823b8043bc
CRs-Fixed: 2268803
Jeff Johnson 6 年之前
父节点
当前提交
1d3f867e4d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/sme/src/common/sme_api.c

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

@@ -2923,7 +2923,7 @@ QDF_STATUS sme_scan_flush_p2p_result(tHalHandle hHal, uint8_t sessionId)
 			 sessionId, 0));
 	status = sme_acquire_global_lock(&pMac->sme);
 	if (QDF_IS_STATUS_SUCCESS(status)) {
-		status = csr_scan_flush_selective_result(hHal, true);
+		status = csr_scan_flush_selective_result(pMac, true);
 		sme_release_global_lock(&pMac->sme);
 	}