Commit 3968a664 authored by Felix Fietkau's avatar Felix Fietkau
Browse files

mt76: do not attempt to reorder received 802.3 packets without agg session



Fixes potential latency / packet drop issues in cases where a BA session has
not (yet) been established.

Fixes: e195dad1 ("mt76: add support for 802.3 rx frames")
Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
parent 46f6adbf
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -162,7 +162,8 @@ 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)) {
	if (!status->aggr) {
		if (!(status->flag & RX_FLAG_8023))
			mt76_rx_aggr_check_ctl(skb, frames);
		return;
	}