mt76x2: clear drop flag for all WCIDs on init

Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Felix Fietkau
2017-11-15 18:00:10 +01:00
parent e4e773440a
commit 60172cc63c
+3
View File
@@ -290,6 +290,9 @@ int mt76x2_mac_reset(struct mt76x2_dev *dev, bool hard)
if (!hard)
return 0;
for (i = 0; i < 256 / 32; i++)
mt76_wr(dev, MT_WCID_DROP_BASE + i * 4, 0);
for (i = 0; i < 256; i++)
mt76x2_mac_wcid_setup(dev, i, 0, NULL);