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)
commitdb8d93a7a355121d49777c059afbca23c53c8628
tree00840a3fec114eebb4a461692cf470db1aadff16
parent7a9b3ec1e19f691f6e69429d851a4084b86e6219
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: 40cbfa90218b ("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