]> git.dujemihanovic.xyz Git - linux.git/commit
wifi: nl80211: fix puncturing bitmap policy
authorJohannes Berg <johannes.berg@intel.com>
Fri, 24 Feb 2023 12:36:57 +0000 (13:36 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 10 Mar 2023 10:46:45 +0000 (11:46 +0100)
commitb27f07c50a73e34eefb6b1030b235192b7ded850
treeb1cbaf6b4540d93aa0444c44dfb00e1c8d07280c
parentf624bb6fad23df3270580b4fcef415c6e7bf7705
wifi: nl80211: fix puncturing bitmap policy

This was meant to be a u32, and while applying the patch
I tried to use policy validation for it. However, not only
did I copy/paste it to u8 instead of u32, but also used
the policy range erroneously. Fix both of these issues.

Fixes: d7c1a9a0ed18 ("wifi: nl80211: validate and configure puncturing bitmap")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c