nl80211: use policy range validation where applicable
authorJohannes Berg <johannes.berg@intel.com>
Tue, 2 Oct 2018 08:00:07 +0000 (10:00 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 11 Oct 2018 14:00:58 +0000 (16:00 +0200)
commitab0d76f6823cc3a4e277c888abd344e3b977e279
treead4aaeefebe33e1938c904b994c769dbd2232845
parentb802a5d6f345d207a5dd120149f6d2fdff2e4fcc
nl80211: use policy range validation where applicable

Many range checks can be done in the policy, move them
there. A few in mesh are added in the code (taken out of
the macros) because they don't fit into the s16 range in
the policy validation.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c