wifi: mt76: improve phy reset on hw restart

- fix number of station accounting for scanning code.
- reset channel context

Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Felix Fietkau
2025-09-12 13:51:36 +02:00
parent a06461861f
commit d17519baab
+2
View File
@@ -816,6 +816,8 @@ static void mt76_reset_phy(struct mt76_phy *phy)
return;
INIT_LIST_HEAD(&phy->tx_list);
phy->num_sta = 0;
phy->chanctx = NULL;
}
void mt76_reset_device(struct mt76_dev *dev)