summaryrefslogtreecommitdiffstats
path: root/net/wireless
diff options
context:
space:
mode:
authorChung-Hsien Hsu2019-05-09 11:49:05 +0200
committerJohannes Berg2019-06-14 14:07:34 +0200
commitcc3e14c21ae928b3f8bce584b2c7d53d332b9738 (patch)
tree818c7667982cad9d44bb6d6ae16738de32c0777a /net/wireless
parentnl80211: add NL80211_ATTR_IFINDEX to port authorized event (diff)
downloadkernel-qcow2-linux-cc3e14c21ae928b3f8bce584b2c7d53d332b9738.tar.gz
kernel-qcow2-linux-cc3e14c21ae928b3f8bce584b2c7d53d332b9738.tar.xz
kernel-qcow2-linux-cc3e14c21ae928b3f8bce584b2c7d53d332b9738.zip
nl80211: add WPA3 definition for SAE authentication
Add definition of WPA version 3 for SAE authentication. Signed-off-by: Chung-Hsien Hsu <stanley.hsu@cypress.com> Signed-off-by: Chi-Hsien Lin <chi-hsien.lin@cypress.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless')
-rw-r--r--net/wireless/nl80211.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c
index 1c74ca377bd8..8332a5731c57 100644
--- a/net/wireless/nl80211.c
+++ b/net/wireless/nl80211.c
@@ -8736,7 +8736,8 @@ static int nl80211_dump_survey(struct sk_buff *skb, struct netlink_callback *cb)
static bool nl80211_valid_wpa_versions(u32 wpa_versions)
{
return !(wpa_versions & ~(NL80211_WPA_VERSION_1 |
- NL80211_WPA_VERSION_2));
+ NL80211_WPA_VERSION_2 |
+ NL80211_WPA_VERSION_3));
}
static int nl80211_authenticate(struct sk_buff *skb, struct genl_info *info)