wifi: mt76: do not add wcid entries to sta poll list during MCU reset

Fixes linked list management issues during restart, where sta entries
can be recreated and reinitialized while still in the poll list, triggering
kernel warnings.

Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Felix Fietkau
2024-12-30 18:40:23 +01:00
parent 5fe42ec88f
commit 1884f568ba
9 changed files with 29 additions and 77 deletions
+1
View File
@@ -1831,6 +1831,7 @@ mt76_token_put(struct mt76_dev *dev, int token)
void mt76_wcid_init(struct mt76_wcid *wcid, u8 band_idx);
void mt76_wcid_cleanup(struct mt76_dev *dev, struct mt76_wcid *wcid);
void mt76_wcid_add_poll(struct mt76_dev *dev, struct mt76_wcid *wcid);
static inline void
mt76_vif_init(struct ieee80211_vif *vif, struct mt76_vif_data *mvif)