mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
wifi: mt76: mt7916: fix regression in .sta_state migration
- initialize and use per-sta wcid entry instead of vif wcid - set wcid flags for 4addr/offload - fix 'newly' argument for vif sta entry update Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
+1
-2
@@ -1450,8 +1450,7 @@ mt76_sta_add(struct mt76_phy *phy, struct ieee80211_vif *vif,
|
||||
continue;
|
||||
|
||||
mtxq = (struct mt76_txq *)sta->txq[i]->drv_priv;
|
||||
if (!mtxq->wcid)
|
||||
mtxq->wcid = wcid->idx;
|
||||
mtxq->wcid = wcid->idx;
|
||||
}
|
||||
|
||||
ewma_signal_init(&wcid->rssi);
|
||||
|
||||
Reference in New Issue
Block a user