diff --git a/mt7915/init.c b/mt7915/init.c index b88c38278..0f476c35a 100644 --- a/mt7915/init.c +++ b/mt7915/init.c @@ -424,10 +424,10 @@ mt7915_init_wiphy(struct mt7915_phy *phy) IEEE80211_VHT_CAP_MAX_A_MPDU_LENGTH_EXPONENT_MASK; /* mt7916 dbdc with 2g 2x2 bw40 and 5g 2x2 bw160c */ - vht_cap->cap |= - IEEE80211_VHT_CAP_SHORT_GI_160 | - IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160MHZ; - } + if (is_mt7916(&dev->mt76)) + vht_cap->cap |= + IEEE80211_VHT_CAP_SHORT_GI_160 | + IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_160MHZ; if (!is_mt7915(&dev->mt76) || !dev->dbdc_support) ieee80211_hw_set(hw, SUPPORTS_VHT_EXT_NSS_BW);