diff options
| author | Bjoern A. Zeeb <bz@FreeBSD.org> | 2025-11-29 00:51:36 +0000 |
|---|---|---|
| committer | Bjoern A. Zeeb <bz@FreeBSD.org> | 2025-12-03 19:54:44 +0000 |
| commit | c67fd35e58c6ee1e19877a7fe5998885683abedc (patch) | |
| tree | 4e5c968c634b6e2c9df8c0e68aba424b58f99915 | |
| parent | 87aa494dfca73204516799033821ab1db184933f (diff) | |
mt76: ieee80211_is_first_frag() operates on the seq_ctrl field not on fc.
Pass the correct field to ieee80211_is_first_frag(); otherwise the results
may vary.
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
X-To-Upstream: yes
| -rw-r--r-- | sys/contrib/dev/mediatek/mt76/mac80211.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/contrib/dev/mediatek/mt76/mac80211.c b/sys/contrib/dev/mediatek/mt76/mac80211.c index 927d8519104f..d2ace8870451 100644 --- a/sys/contrib/dev/mediatek/mt76/mac80211.c +++ b/sys/contrib/dev/mediatek/mt76/mac80211.c @@ -1340,7 +1340,7 @@ mt76_check_ccmp_pn(struct sk_buff *skb) * All further fragments will be validated by mac80211 only. */ if (ieee80211_is_frag(hdr) && - !ieee80211_is_first_frag(hdr->frame_control)) + !ieee80211_is_first_frag(hdr->seq_ctrl)) return; } |
