summaryrefslogtreecommitdiff
path: root/net/mac80211/ieee80211_i.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2014-03-19 12:11:19 +0400
committerJohannes Berg <johannes.berg@intel.com>2014-03-20 00:29:53 +0400
commitc9c3a0604614344f7c73523176b6d0a85cba6eab (patch)
tree0794174f0ec4835ef18530c305b7dadb27b785a9 /net/mac80211/ieee80211_i.h
parentd2722f8b87fb172ff2f31d3a2816b31d58678d40 (diff)
downloadlinux-c9c3a0604614344f7c73523176b6d0a85cba6eab.tar.xz
mac80211: verify deauthentication and return error on failure
When still authenticating the mac80211 code handling a deauthentication requests from userspace doesn't verify that the request is valid in any way, fix that. Additionally, it never returns an error, even if there's no connection or authentication attempt, fix that as well. While at it, move the message to not print a message in the error case and to distinguish between the two cases. Also simplify the code by duplicating the cfg80211 call. Reviewed-by: Luciano Coelho <luciano.coelho@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
0 files changed, 0 insertions, 0 deletions