]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
cfg80211: don't allow drivers to unset NL80211_FEATURE_SCAN_FLUSH
authorJohannes Berg <johannes.berg@intel.com>
Sat, 26 Oct 2013 15:14:38 +0000 (17:14 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 25 Nov 2013 19:50:40 +0000 (20:50 +0100)
commit00c3a6ed649c3305b52ff51e187717365aa39d4a
treefafb8473f2265d56e082a54f5d0eca1917d3c2fc
parent0f0094b3c7b8fef51f1ea6a0abc08b99d1444506
cfg80211: don't allow drivers to unset NL80211_FEATURE_SCAN_FLUSH

As the flag is entirely implemented in cfg80211, it should
have been a global feature flag (which I believe didn't
exist at the time). However, there's no reason to allow
drivers to unset the flag, so don't allow it and remove
the validation of NL80211_SCAN_FLAG_FLUSH.

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