iwinfo: Add missing auth_suites mappings for WPA3
authorTjeu Kayim <15987676+TjeuKayim@users.noreply.github.com>
Thu, 28 Jul 2022 08:47:09 +0000 (10:47 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 13 Aug 2022 14:54:41 +0000 (16:54 +0200)
`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

index 70b080cedfc07be6b001f7084ad63ffe69d92f3f..118fe58d16b5d06f0ed3f831920b60da912370a2 100644 (file)
@@ -37,6 +37,8 @@ const char *IWINFO_KMGMT_NAMES[] = {
        "NONE",
        "802.1X",
        "PSK",
+       "SAE",
+       "OWE",
 };
 
 const char *IWINFO_AUTH_NAMES[] = {