From bfc58a1000a1506873caeb6e237596d576c1bf56 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Sun, 10 Jun 2018 08:49:08 -0700 Subject: [PATCH] qcacld-3.0: Fix sme_ibss_peer_info_response_handler() param Currently sme_ibss_peer_info_response_handler() takes a tHalHandle context param. However this is a static internal function, and hence it should be using the "real" context pointer type tpAniSirGlobal instead of the opaque reference tHalHandle, so update the API to expect tpAniSirGlobal (which is what is already being passed by sme_process_msg()). Change-Id: I553b485f0e54f173d31e8931f3bda6bba8ede77d CRs-Fixed: 2267439 --- core/sme/src/common/sme_api.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/sme/src/common/sme_api.c b/core/sme/src/common/sme_api.c index 59d9a32cd592..28e06b9f3196 100644 --- a/core/sme/src/common/sme_api.c +++ b/core/sme/src/common/sme_api.c @@ -1800,12 +1800,10 @@ QDF_STATUS sme_set_ese_roam_scan_channel_list(tHalHandle hHal, #endif /* FEATURE_WLAN_ESE */ static -QDF_STATUS sme_ibss_peer_info_response_handler(tHalHandle hHal, +QDF_STATUS sme_ibss_peer_info_response_handler(tpAniSirGlobal pMac, tpSirIbssGetPeerInfoRspParams pIbssPeerInfoParams) { - tpAniSirGlobal pMac = PMAC_STRUCT(hHal); - if (NULL == pMac) { QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_FATAL, "%s: pMac is null", __func__);