Browse Source

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
Jeff Johnson 6 years ago
parent
commit
bfc58a1000
1 changed files with 1 additions and 3 deletions
  1. 1 3
      core/sme/src/common/sme_api.c

+ 1 - 3
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__);