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
@@ -98,7 +98,7 @@ int mt76x2u_mac_stop(struct mt76x02_dev *dev)
|
||||
bool stopped = false;
|
||||
u32 rts_cfg;
|
||||
|
||||
if (test_bit(MT76_REMOVED, &dev->mt76.state))
|
||||
if (test_bit(MT76_REMOVED, &dev->mphy.state))
|
||||
return -EIO;
|
||||
|
||||
rts_cfg = mt76_rr(dev, MT_TX_RTS_CFG);
|
||||
|
||||
Reference in New Issue
Block a user