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
This commit is contained in:
Jeff Johnson 2018-06-10 08:49:08 -07:00 • committed by nshrivas
commit bfc58a1000

View file

@ -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__);