diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2021-10-21 20:08:41 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2021-10-23 13:23:45 +0200 |
commit | 565ddaaab9a15424a9037f929bce685aa34ffd0b (patch) | |
tree | e6a028e43a42979e76f096166cd34f6238f859e0 /drivers/net/wireless/mediatek | |
parent | 90f5daea758abcc4722f4304ed5fccbbc80a59c2 (diff) | |
download | linux-565ddaaab9a15424a9037f929bce685aa34ffd0b.tar.bz2 |
mt76: mt7921: disable 4addr capability
4addr is not supported by the driver/firmware yet
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt7921/init.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt7921/init.c b/drivers/net/wireless/mediatek/mt76/mt7921/init.c index 87265045e2dd..210998f086ab 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7921/init.c +++ b/drivers/net/wireless/mediatek/mt76/mt7921/init.c @@ -62,7 +62,8 @@ mt7921_init_wiphy(struct ieee80211_hw *hw) hw->vif_data_size = sizeof(struct mt7921_vif); wiphy->iface_combinations = if_comb; - wiphy->flags &= ~WIPHY_FLAG_IBSS_RSN; + wiphy->flags &= ~(WIPHY_FLAG_IBSS_RSN | WIPHY_FLAG_4ADDR_AP | + WIPHY_FLAG_4ADDR_STATION); wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION); wiphy->n_iface_combinations = ARRAY_SIZE(if_comb); wiphy->max_scan_ie_len = MT76_CONNAC_SCAN_IE_LEN; |