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-16 20:34:45 +01:00
parent 8f1673a34b
commit f9d9c22491
+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);