Commit 7172534f authored by Felix Fietkau's avatar Felix Fietkau

mt76: mt7615: avoid use of ieee80211_tx_info_clear_status

It overwrites mt76_tx_cb data in the skb
Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
parent ec8f1a90
......@@ -1389,7 +1389,7 @@ static bool mt7615_mac_add_txs_skb(struct mt7615_dev *dev,
struct ieee80211_tx_info *info = IEEE80211_SKB_CB(skb);
if (!mt7615_fill_txs(dev, sta, info, txs_data)) {
ieee80211_tx_info_clear_status(info);
info->status.rates[0].count = 0;
info->status.rates[0].idx = -1;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment