1 From: Felix Fietkau <nbd@nbd.name>
2 Date: Fri, 23 Feb 2018 09:59:35 +0100
3 Subject: [PATCH] mac80211: drop frames with unexpected DS bits from
6 Fixes rx for 4-addr packets in AP mode
8 Signed-off-by: Felix Fietkau <nbd@nbd.name>
11 --- a/net/mac80211/rx.c
12 +++ b/net/mac80211/rx.c
13 @@ -3928,7 +3928,7 @@ static bool ieee80211_invoke_fast_rx(str
14 if ((hdr->frame_control & cpu_to_le16(IEEE80211_FCTL_FROMDS |
15 IEEE80211_FCTL_TODS)) !=
16 fast_rx->expected_ds_bits)
20 /* assign the key to drop unencrypted frames (later)
21 * and strip the IV/MIC if necessary