mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 05:29:04 -04:00
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:
parent
ed3de52ce5
commit
c074933e90
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue