mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
qcacld-3.0: Need check both HTCaps and HTInfo for channel width
Some AP indicates it support 40M in HTInfo, while not support 40M in HTCaps, so need intersect HTInfo and HTCaps. Change-Id: I496b62f50a2e1e19aeef7e77535d0479f31bba44 CRs-Fixed: 3025951
This commit is contained in:
parent
fb2e9139bc
commit
fddd0545f4
1 changed files with 2 additions and 1 deletions
|
|
@ -632,7 +632,8 @@ void lim_fill_ft_session(struct mac_context *mac,
|
|||
}
|
||||
ft_session->htSupportedChannelWidthSet =
|
||||
(pBeaconStruct->HTInfo.present) ?
|
||||
(cbEnabledMode && pBeaconStruct->HTInfo.recommendedTxWidthSet) : 0;
|
||||
(cbEnabledMode && pBeaconStruct->HTInfo.recommendedTxWidthSet &&
|
||||
pBeaconStruct->HTCaps.supportedChannelWidthSet) : 0;
|
||||
ft_session->htRecommendedTxWidthSet =
|
||||
ft_session->htSupportedChannelWidthSet;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue