mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: move mac beacon routines in mt76x02-lib module
Move mt76x02_beacon mac routines in mt76x02_mac.c in order to be reused by mt76x0 driver adding AP support Signed-off-by: Lorenzo Bianconi <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
aa6ebf9da5
commit
a4a08c33a9
+2
-2
@@ -153,8 +153,8 @@ static int mt76x2_mac_reset(struct mt76x02_dev *dev, bool hard)
|
||||
mt76x02_mac_shared_key_setup(dev, i, k, NULL);
|
||||
|
||||
for (i = 0; i < 8; i++) {
|
||||
mt76x2_mac_set_bssid(dev, i, null_addr);
|
||||
mt76x2_mac_set_beacon(dev, i, NULL);
|
||||
mt76x02_mac_set_bssid(dev, i, null_addr);
|
||||
mt76x02_mac_set_beacon(dev, i, NULL);
|
||||
}
|
||||
|
||||
for (i = 0; i < 16; i++)
|
||||
|
||||
Reference in New Issue
Block a user