diff options
| author | Tjeu Kayim | 2022-07-28 08:47:09 +0000 |
|---|---|---|
| committer | Hauke Mehrtens | 2022-08-13 14:54:41 +0000 |
| commit | 705d3b5cc30ed1ac3b2fed131259bcbc61177e41 (patch) | |
| tree | 69abb8fa0597f9246081737a00eafcf8781e12e5 | |
| parent | dc6847eb5ec8747867bc20f1024723c6397c1df7 (diff) | |
| download | iwinfo-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.c | 2 |
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[] = { |