qcacld-3.0: Fix bad csr_parse_bss_description_ies() typecast

In csr_roam_call_callback() there is a call to
csr_parse_bss_description_ies() where the MAC context is typecast to
tHalHandle as part of the function call. However this typecast is
incorrect since csr_parse_bss_description_ies() expects to get a MAC
context. Due to the manner in which tHalHandle is defined this does
not current cause a build issue, but an upcoming change will enforce
type checking so update this call to remove the inappropriate
typecasts.

Change-Id: I16e1f33e6f00ed1c610511a60f5974f0f0d71cd5
CRs-Fixed: 2268807
This commit is contained in:
Jeff Johnson 2018-06-10 20:41:07 -07:00 • committed by nshrivas
commit c074933e90

View file

@ -4302,7 +4302,7 @@ QDF_STATUS csr_roam_call_callback(tpAniSirGlobal pMac, uint32_t sessionId,
beacon_ies = qdf_mem_malloc(sizeof(tDot11fBeaconIEs));
if ((NULL != beacon_ies) && (NULL != roam_info->pBssDesc)) {
status = csr_parse_bss_description_ies(
(tHalHandle) pMac, roam_info->pBssDesc,
pMac, roam_info->pBssDesc,
beacon_ies);
csr_roam_populate_channels(beacon_ies, roam_info,
&chan1, &chan2);