mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: move state from struct mt76_dev to mt76_phy
Allows keeping per-wiphy state separate Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
+1
-1
@@ -218,7 +218,7 @@ int mt76x2u_register_device(struct mt76x02_dev *dev)
|
||||
else
|
||||
hw->max_tx_fragments = 1;
|
||||
|
||||
set_bit(MT76_STATE_INITIALIZED, &dev->mt76.state);
|
||||
set_bit(MT76_STATE_INITIALIZED, &dev->mphy.state);
|
||||
|
||||
mt76x02_init_debugfs(dev);
|
||||
mt76x2_init_txpower(dev, &dev->mphy.sband_2g.sband);
|
||||
|
||||
Reference in New Issue
Block a user