diff options
author | Johannes Berg <johannes.berg@intel.com> | 2020-08-19 08:56:43 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2020-08-27 11:25:06 +0200 |
commit | c8b828023088148e33a44e025f7d4b2abb96ea36 (patch) | |
tree | d8adad76866f99373f3afef4c3269cee66b333b5 /net/wireless/of.c | |
parent | cb9abd48d99db5690f688e1ed5c49ee66a741c0b (diff) | |
download | linux-c8b828023088148e33a44e025f7d4b2abb96ea36.tar.bz2 |
nl80211: use NLA_POLICY_RANGE(NLA_BINARY, ...) for a few attributes
We have a few attributes with minimum and maximum lengths that are
not the same, use the new feature of being able to specify both in
the policy to validate them, removing code and allowing this to be
advertised to userspace in the policy export.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Link: https://lore.kernel.org/r/20200819085642.8f12ffa14f33.I9d948d59870e521febcd79bb4a986b1de1dca47b@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/of.c')
0 files changed, 0 insertions, 0 deletions