From: Yi Cong <cong.yi@linux.dev>
To: hauke@hauke-m.de, backports@vger.kernel.org
Cc: yicong@kylinos.cn
Subject: [PATCH 2/2] patches: fix puncturing bitmap policy
Date: Tue, 27 Jan 2026 10:22:39 +0800 [thread overview]
Message-ID: <20260127022239.754220-2-cong.yi@linux.dev> (raw)
In-Reply-To: <20260127022239.754220-1-cong.yi@linux.dev>
From: Yi Cong <yicong@kylinos.cn>
commit b27f07c50a73e34eefb6b1030b235192b7ded850 upstream.
Use u32 instead of u8.
Signed-off-by: Yi Cong <yicong@kylinos.cn>
---
patches/0099-netlink-range/mac80211.patch | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/patches/0099-netlink-range/mac80211.patch b/patches/0099-netlink-range/mac80211.patch
index 90d2bf53..2a83be99 100644
--- a/patches/0099-netlink-range/mac80211.patch
+++ b/patches/0099-netlink-range/mac80211.patch
@@ -92,7 +92,7 @@
NLA_POLICY_FULL_RANGE(NLA_U32, &nl80211_punct_bitmap_range),
-
+#else
-+ [NL80211_ATTR_PUNCT_BITMAP] = NLA_POLICY_RANGE(NLA_U8, 0, 0xffff),
++ [NL80211_ATTR_PUNCT_BITMAP] = NLA_POLICY_RANGE(NLA_U32, 0, 0xffff),
+#endif
[NL80211_ATTR_MAX_HW_TIMESTAMP_PEERS] = { .type = NLA_U16 },
[NL80211_ATTR_HW_TIMESTAMP_ENABLED] = { .type = NLA_FLAG },
--
2.25.1
prev parent reply other threads:[~2026-01-27 2:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-27 2:22 [PATCH 1/2] patches: Refresh on 6.1.160 Yi Cong
2026-01-27 2:22 ` Yi Cong [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260127022239.754220-2-cong.yi@linux.dev \
--to=cong.yi@linux.dev \
--cc=backports@vger.kernel.org \
--cc=hauke@hauke-m.de \
--cc=yicong@kylinos.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox