]> git.baikalelectronics.ru Git - kernel.git/commit
nl80211: Fix external_auth check for offloaded authentication
authorSrinivas Dasari <dasaris@codeaurora.org>
Fri, 2 Feb 2018 09:15:27 +0000 (11:15 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 19 Feb 2018 12:17:09 +0000 (13:17 +0100)
commit68be7202abab57bfb6ecfae542642c78c232339e
tree00840a3fec114eebb4a461692cf470db1aadff16
parentf07f44dfd588135490a2d1d1650ec35a7e6aab4b
nl80211: Fix external_auth check for offloaded authentication

Unfortunately removal of the ext_feature flag in the last revision of
the patch ended up negating the comparison and prevented the command
from being processed (either nl80211_external_auth() or
rdev_external_auth() returns -EOPNOTSUPP). Fix this by adding back the
lost '!'.

Fixes: d15ab4548f30 ("cfg80211/nl80211: Optional authentication offload to userspace")
Signed-off-by: Srinivas Dasari <dasaris@codeaurora.org>
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c