From: Tjeu Kayim <15987676+TjeuKayim@users.noreply.github.com> Date: Thu, 28 Jul 2022 08:47:09 +0000 (+0200) Subject: iwinfo: Add missing auth_suites mappings for WPA3 X-Git-Url: http://git.openwrt.org/?p=project%2Fiwinfo.git;a=commitdiff_plain;h=705d3b5cc30ed1ac3b2fed131259bcbc61177e41 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> --- 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[] = {