diff options
author | Felix Fietkau <nbd@nbd.name> | 2019-01-16 22:33:18 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2019-01-17 14:45:55 +0100 |
commit | f545540d5f6007def13cf235a914891b67693828 (patch) | |
tree | fa193ed021d16e35491eaddd1619290e99298581 | |
parent | mt76: fix tx status reporting for non-probing frames (diff) | |
download | linux-f545540d5f6007def13cf235a914891b67693828.tar.xz linux-f545540d5f6007def13cf235a914891b67693828.zip |
mt76: set IEEE80211_HW_NEEDS_UNIQUE_STA_ADDR flag
The hardware does not deal with multiple WCID entries for the same station
properly. Set IEEE80211_HW_NEEDS_UNIQUE_STA_ADDR to avoid those cases
Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mac80211.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mac80211.c b/drivers/net/wireless/mediatek/mt76/mac80211.c index 7b926dfa6b97..3d976ac4cb41 100644 --- a/drivers/net/wireless/mediatek/mt76/mac80211.c +++ b/drivers/net/wireless/mediatek/mt76/mac80211.c @@ -328,6 +328,7 @@ int mt76_register_device(struct mt76_dev *dev, bool vht, ieee80211_hw_set(hw, MFP_CAPABLE); ieee80211_hw_set(hw, AP_LINK_PS); ieee80211_hw_set(hw, REPORTS_TX_ACK_STATUS); + ieee80211_hw_set(hw, NEEDS_UNIQUE_STA_ADDR); wiphy->flags |= WIPHY_FLAG_IBSS_RSN; |