mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: mt7915: rely on mt76_connac_mcu_sta_ba
Rely on mt76_connac_mcu_sta_ba routine in mt7915 and remove duplicated code. Signed-off-by: Lorenzo Bianconi <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
4728939c1d
commit
e3ae182806
+2
-1
@@ -1191,7 +1191,8 @@ mt7615_mcu_uni_tx_ba(struct mt7615_dev *dev,
|
||||
struct mt7615_sta *sta = (struct mt7615_sta *)params->sta->drv_priv;
|
||||
|
||||
return mt76_connac_mcu_sta_ba(&dev->mt76, &sta->vif->mt76, params,
|
||||
enable, true);
|
||||
MCU_UNI_CMD(STA_REC_UPDATE), enable,
|
||||
true);
|
||||
}
|
||||
|
||||
static int
|
||||
|
||||
Reference in New Issue
Block a user