Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openwrt/mt76.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/mt7603
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2021-05-07 20:49:00 +0300
committerFelix Fietkau <nbd@nbd.name>2021-05-07 20:50:30 +0300
commite1f07d7f1cb958222495bb54bb29796a81b08ecc (patch)
tree6ab0c64d12649dff13449eae2875af9f2f659e3c /mt7603
parent3b4ca5b09e2c009350437414aa6292d02e9f7c51 (diff)
mt76: mt7603: avoid use of ieee80211_tx_info_clear_status
It overwrites mt76_tx_cb data in the skb Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'mt7603')
-rw-r--r--mt7603/mac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mt7603/mac.c b/mt7603/mac.c
index fbceb07c..4e76f986 100644
--- a/mt7603/mac.c
+++ b/mt7603/mac.c
@@ -1213,7 +1213,7 @@ mt7603_mac_add_txs_skb(struct mt7603_dev *dev, struct mt7603_sta *sta, int pid,
struct ieee80211_tx_info *info = IEEE80211_SKB_CB(skb);
if (!mt7603_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;
}