iwinfo: readd missing define for IWINFO_AUTH in header

In converting the iwinfo header to enum-define pattern the IWINFO_AUTH
define conversion was wrongly dropped. Readd the missing define to fix
iwinfo always reporting None as encryption.

Fixes: 7e3d7ded29 ("iwinfo: reorganize iwinfo header to enum and defines")
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:
Christian Marangi 2023-01-23 13:44:22 +01:00
parent f766138662
commit 1e4e709d6f
No known key found for this signature in database
GPG key ID: AC001D09ADBFEAD7

View file

@ -125,6 +125,9 @@ enum iwinfo_auth {
IWINFO_AUTH_COUNT
};
#define IWINFO_AUTH_OPEN (1 << IWINFO_AUTH_OPEN)
#define IWINFO_AUTH_SHARED (1 << IWINFO_AUTH_SHARED)
extern const char * const IWINFO_AUTH_NAMES[IWINFO_AUTH_COUNT];