Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fddd0545 authored by Jianmin Zhu's avatar Jianmin Zhu Committed by Gerrit - the friendly Code Review server
Browse files

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
parent fb2e9139
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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;