Skip to content

Commit cbbde7e

Browse files
nbd168Kalle Valo
authored andcommitted
mt76: do not set status->aggr for NULL data frames
Avoids data connection stalls when the client toggles powersave mode Fixes: aee5b8c ("mt76: implement A-MPDU rx reordering in the driver code") Signed-off-by: Felix Fietkau <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
1 parent fb208dc commit cbbde7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/wireless/mediatek/mt76/mt76x2_mac.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ int mt76x2_mac_process_rx(struct mt76x2_dev *dev, struct sk_buff *skb,
341341

342342
mt76x2_remove_hdr_pad(skb, pad_len);
343343

344-
if (rxinfo & MT_RXINFO_BA)
344+
if ((rxinfo & MT_RXINFO_BA) && !(rxinfo & MT_RXINFO_NULL))
345345
status->aggr = true;
346346

347347
if (WARN_ON_ONCE(len > skb->len))

0 commit comments

Comments
 (0)