diff --git a/mt76_connac_mcu.c b/mt76_connac_mcu.c index 488fe5ef..2cc5a5b6 100644 --- a/mt76_connac_mcu.c +++ b/mt76_connac_mcu.c @@ -1501,6 +1501,8 @@ mt76_connac_mcu_uni_bss_he_tlv(struct mt76_phy *phy, struct ieee80211_vif *vif, struct bss_info_uni_he *he; cap = mt76_connac_get_he_phy_cap(phy, vif); + if (!cap) + return; he = (struct bss_info_uni_he *)tlv; he->he_pe_duration = vif->bss_conf.htc_trig_based_pkt_ext;