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:
Shayne Chen
2025-11-06 11:34:56 +00:00
committed by Felix Fietkau
parent ab8361dbc4
commit 7ce7ab881b
+1 -1
View File
@@ -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;
}