From 705d3b5cc30ed1ac3b2fed131259bcbc61177e41 Mon Sep 17 00:00:00 2001 From: Tjeu Kayim <15987676+TjeuKayim@users.noreply.github.com> Date: Thu, 28 Jul 2022 10:47:09 +0200 Subject: [PATCH] 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> --- iwinfo_lib.c | 2 ++ 1 file changed, 2 insertions(+) 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[] = { -- 2.30.2