diff options
author | Christian Marangi <ansuelsmth@gmail.com> | 2023-01-23 13:44:22 +0100 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2023-01-23 13:47:49 +0100 |
commit | 1e4e709d6f26cc38411ca189bab04f857b444ef3 (patch) | |
tree | 76c93c6e2644a779e949c979bee1c9e5d7c0da7d | |
parent | f766138662cb1d62bacd1087fab597bedcf708b9 (diff) | |
download | iwinfo-1e4e709d6f26cc38411ca189bab04f857b444ef3.tar.gz |
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: 7e3d7ded29d7 ("iwinfo: reorganize iwinfo header to enum and defines")
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
-rw-r--r-- | include/iwinfo.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/iwinfo.h b/include/iwinfo.h index b9a482c..eae9930 100644 --- a/include/iwinfo.h +++ b/include/iwinfo.h @@ -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]; |