mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user