nl80211: clean up code/policy a bit
authorJohannes Berg <johannes.berg@intel.com>
Wed, 5 Aug 2020 13:47:16 +0000 (15:47 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 27 Aug 2020 09:24:56 +0000 (11:24 +0200)
commitcb9abd48d99db5690f688e1ed5c49ee66a741c0b
treeb0d9351c0c8a781be644b4b973c74f27e0470156
parent7b506ff6f6903518af65fc35ae2fcd8305d8ff2b
nl80211: clean up code/policy a bit

Use the policy to validate minimum and exact lengths in
some attributes that weren't previously covered in the
right ways, and remove associated validation code.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Link: https://lore.kernel.org/r/20200805154714.3ba1e233cfa0.I5dc8109b7ab5c3f4ae925f903a30cc9b35753262@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c