projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7172534
)
mt76: mt7603: avoid use of ieee80211_tx_info_clear_status
author
Felix Fietkau
<nbd@nbd.name>
Fri, 7 May 2021 17:49:00 +0000
(19:49 +0200)
committer
Felix Fietkau
<nbd@nbd.name>
Thu, 17 Jun 2021 16:33:47 +0000
(18:33 +0200)
It overwrites mt76_tx_cb data in the skb
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7603/mac.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/mediatek/mt76/mt7603/mac.c
b/drivers/net/wireless/mediatek/mt76/mt7603/mac.c
index fbceb07c5f37883c4c9c71ec2bb0255ceba21210..4e76f9868b9b656b48debf0f81040a342c30c955 100644
(file)
--- a/
drivers/net/wireless/mediatek/mt76/mt7603/mac.c
+++ b/
drivers/net/wireless/mediatek/mt76/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)) {
- i
eee80211_tx_info_clear_status(info)
;
+ i
nfo->status.rates[0].count = 0
;
info->status.rates[0].idx = -1;
}