mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
wifi: mt76: mt7915: use mac80211 .sta_state op
Allows adding stations before assoc, though they are not passed to the firmware yet at that point. Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
+2
-1
@@ -1450,7 +1450,8 @@ mt76_sta_add(struct mt76_phy *phy, struct ieee80211_vif *vif,
|
||||
continue;
|
||||
|
||||
mtxq = (struct mt76_txq *)sta->txq[i]->drv_priv;
|
||||
mtxq->wcid = wcid->idx;
|
||||
if (!mtxq->wcid)
|
||||
mtxq->wcid = wcid->idx;
|
||||
}
|
||||
|
||||
ewma_signal_init(&wcid->rssi);
|
||||
|
||||
Reference in New Issue
Block a user