mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt7603: init WTBL entry before setting capabilities
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
+1
-1
@@ -272,9 +272,9 @@ mt7603_sta_add(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
|
||||
mt7603_txq_init(dev, sta->txq[i]);
|
||||
|
||||
msta->wcid.idx = idx;
|
||||
mt7603_wtbl_init(dev, idx, sta->addr);
|
||||
mt7603_wtbl_update_cap(dev, sta);
|
||||
|
||||
mt7603_wtbl_init(dev, idx, sta->addr);
|
||||
rcu_assign_pointer(dev->wcid[idx], &msta->wcid);
|
||||
|
||||
out:
|
||||
|
||||
Reference in New Issue
Block a user