Commit 3f34cced authored by Felix Fietkau's avatar Felix Fietkau
Browse files

wifi: mt76: improve phy reset on hw restart

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

Link: https://patch.msgid.link/20250915075910.47558-14-nbd@nbd.name


Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
parent 6855bebe
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -824,6 +824,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)