summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTjeu Kayim <15987676+TjeuKayim@users.noreply.github.com>2022-07-28 10:47:09 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2022-08-13 16:54:41 +0200
commit705d3b5cc30ed1ac3b2fed131259bcbc61177e41 (patch)
tree69abb8fa0597f9246081737a00eafcf8781e12e5
parentdc6847eb5ec8747867bc20f1024723c6397c1df7 (diff)
downloadiwinfo-705d3b5cc30ed1ac3b2fed131259bcbc61177e41.tar.gz
iwinfo: Add missing auth_suites mappings for WPA3
`iwinfo.h` says: #define IWINFO_KMGMT_COUNT 5 ... extern const char *IWINFO_KMGMT_NAMES[IWINFO_KMGMT_COUNT]; Though only only 3 items are defined. The other two were forgotten when adding WPA3 support. The `auth_suites` table exposed via Lua never included the items "SAE" and "OWE" until this commit. Fixes: f8ef45065207 ("iwinfo: Add support for WPA3") Signed-off-by: Tjeu Kayim <15987676+TjeuKayim@users.noreply.github.com>
-rw-r--r--iwinfo_lib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/iwinfo_lib.c b/iwinfo_lib.c
index 70b080c..118fe58 100644
--- a/iwinfo_lib.c
+++ b/iwinfo_lib.c
@@ -37,6 +37,8 @@ const char *IWINFO_KMGMT_NAMES[] = {
"NONE",
"802.1X",
"PSK",
+ "SAE",
+ "OWE",
};
const char *IWINFO_AUTH_NAMES[] = {