mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
wifi: mt76: rename mt76_packet_id_init/flush to mt76_wcid_init/cleanup
Also un-inline the functions. Will be used for further wcid init/cleanup Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
+2
-2
@@ -70,7 +70,7 @@ mt7603_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif)
|
||||
mvif->sta.wcid.idx = idx;
|
||||
mvif->sta.wcid.hw_key_idx = -1;
|
||||
mvif->sta.vif = mvif;
|
||||
mt76_packet_id_init(&mvif->sta.wcid);
|
||||
mt76_wcid_init(&mvif->sta.wcid);
|
||||
|
||||
eth_broadcast_addr(bc_addr);
|
||||
mt7603_wtbl_init(dev, idx, mvif->idx, bc_addr);
|
||||
@@ -110,7 +110,7 @@ mt7603_remove_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif)
|
||||
dev->mt76.vif_mask &= ~BIT_ULL(mvif->idx);
|
||||
mutex_unlock(&dev->mt76.mutex);
|
||||
|
||||
mt76_packet_id_flush(&dev->mt76, &mvif->sta.wcid);
|
||||
mt76_wcid_cleanup(&dev->mt76, &mvif->sta.wcid);
|
||||
}
|
||||
|
||||
void mt7603_init_edcca(struct mt7603_dev *dev)
|
||||
|
||||
Reference in New Issue
Block a user