mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
qcacld-3.0: Fix NULL vht_caps in lim_ft_prepare_add_bss_req
In lim_ft_prepare_add_bss_req due to change Ic4a992acfce186f7248dcc99d0c7b44ce38f099b the action was removed but if condition was not removed. This left over if condition is causing the vht_caps to be NULL in VHT20 case. Fix this by removing the left over if condition so that vht_caps is filled all the time. Change-Id: I196fd3cfb44fa3281b9843a61242520e0888d2c4 CRs-Fixed: 2958411
This commit is contained in:
parent
898f27c21c
commit
989cced6ab
1 changed files with 0 additions and 3 deletions
|
|
@ -200,7 +200,6 @@ void lim_ft_prepare_add_bss_req(struct mac_context *mac,
|
|||
if (ft_session->vhtCapability &&
|
||||
ft_session->vhtCapabilityPresentInBeacon) {
|
||||
pAddBssParams->vhtCapable = pBeaconStruct->VHTCaps.present;
|
||||
if (pBeaconStruct->VHTOperation.chanWidth && chan_width_support)
|
||||
vht_caps = &pBeaconStruct->VHTCaps;
|
||||
lim_update_vhtcaps_assoc_resp(mac, pAddBssParams,
|
||||
vht_caps, ft_session);
|
||||
|
|
@ -209,8 +208,6 @@ void lim_ft_prepare_add_bss_req(struct mac_context *mac,
|
|||
pe_debug("VHT caps are present in vendor specific IE");
|
||||
pAddBssParams->vhtCapable =
|
||||
pBeaconStruct->vendor_vht_ie.VHTCaps.present;
|
||||
if (pBeaconStruct->vendor_vht_ie.VHTOperation.chanWidth &&
|
||||
chan_width_support)
|
||||
vht_caps = &pBeaconStruct->vendor_vht_ie.VHTCaps;
|
||||
lim_update_vhtcaps_assoc_resp(mac, pAddBssParams,
|
||||
vht_caps, ft_session);
|
||||
|
|
|
|||
Loading…
Reference in a new issue