projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46f6adb
)
mt76: do not attempt to reorder received 802.3 packets without agg session
author
Felix Fietkau
<nbd@nbd.name>
Wed, 20 Apr 2022 11:20:23 +0000
(13:20 +0200)
committer
Felix Fietkau
<nbd@nbd.name>
Fri, 13 May 2022 07:39:35 +0000
(09:39 +0200)
Fixes potential latency / packet drop issues in cases where a BA session has
not (yet) been established.
Fixes:
e195dad14115
("mt76: add support for 802.3 rx frames")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/agg-rx.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/mediatek/mt76/agg-rx.c
b/drivers/net/wireless/mediatek/mt76/agg-rx.c
index
9b8e1df
..
10cbd9e
100644
(file)
--- a/
drivers/net/wireless/mediatek/mt76/agg-rx.c
+++ b/
drivers/net/wireless/mediatek/mt76/agg-rx.c
@@
-162,8
+162,9
@@
void mt76_rx_aggr_reorder(struct sk_buff *skb, struct sk_buff_head *frames)
if (!sta)
return;
- if (!status->aggr && !(status->flag & RX_FLAG_8023)) {
- mt76_rx_aggr_check_ctl(skb, frames);
+ if (!status->aggr) {
+ if (!(status->flag & RX_FLAG_8023))
+ mt76_rx_aggr_check_ctl(skb, frames);
return;
}