qcacld-3.0: Fix linkspeed wrong for 11ax after roaming

after roaming, the he_capble of ft_session is not set
correctly.
update this value refer previous session.

Change-Id: I92361e26a8ef28cf5a3c7981883f1ee2fa1272ff
CRs-Fixed: 2663307
This commit is contained in:
Jingxiang Ge
2020-04-16 11:53:12 +08:00
committed by nshrivas
orang tua ff95ece535
melakukan 5d4fbccf23

Melihat File

@@ -524,8 +524,11 @@ void lim_fill_ft_session(struct mac_context *mac,
ft_session->limRFBand = lim_get_rf_band(ft_session->curr_op_freq);
lim_fill_dot11mode(mac, ft_session, pe_session, pBeaconStruct);
pe_debug("dot11mode: %d", ft_session->dot11mode);
if (IS_DOT11_MODE_HE(ft_session->dot11mode))
lim_update_session_he_capable(mac, ft_session);
ft_session->vhtCapability =
(IS_DOT11_MODE_VHT(ft_session->dot11mode)
&& IS_BSS_VHT_CAPABLE(pBeaconStruct->VHTCaps));