mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
wifi: mt76: mt7996: fix using wrong phy to start in mt7996_mac_restart()
Pass the correct mt7996_phy to mt7996_run().
Fixes: 0a5df0ec47f7 ("wifi: mt76: mt7996: remove redundant per-phy mac80211 calls during restart")
Signed-off-by: Shayne Chen <[email protected]>
Acked-by: Lorenzo Bianconi <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
ab8361dbc4
commit
7ce7ab881b
+1
-1
@@ -2368,7 +2368,7 @@ mt7996_mac_restart(struct mt7996_dev *dev)
|
||||
if (!test_bit(MT76_STATE_RUNNING, &phy->mt76->state))
|
||||
continue;
|
||||
|
||||
ret = mt7996_run(&dev->phy);
|
||||
ret = mt7996_run(phy);
|
||||
if (ret)
|
||||
goto out;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user