aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/dev
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2025-12-03 22:13:10 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2026-04-21 09:38:28 +0000
commitadb16cd389c3456cbd538b658c3c0af5145dde91 (patch)
tree073d01519ebe8b659828ffb1364b4aa19e08b214 /sys/contrib/dev
parentc8cd633d78d04ff535960002ac9d1ab20f74b201 (diff)
Diffstat (limited to 'sys/contrib/dev')
-rw-r--r--sys/contrib/dev/rtw89/core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/contrib/dev/rtw89/core.c b/sys/contrib/dev/rtw89/core.c
index c834649014b4..7fea67b63624 100644
--- a/sys/contrib/dev/rtw89/core.c
+++ b/sys/contrib/dev/rtw89/core.c
@@ -2278,6 +2278,8 @@ static int rtw89_core_rx_parse_phy_sts(struct rtw89_dev *rtwdev,
end = phy_ppdu->buf + phy_ppdu->len;
#elif defined(__FreeBSD__)
pos = (u8 *)phy_ppdu->buf + PHY_STS_HDR_LEN;
+ if (phy_ppdu->hdr_2_en)
+ pos += PHY_STS_HDR_LEN;
end = (u8 *)phy_ppdu->buf + phy_ppdu->len;
#endif
while (pos < end) {