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:
parent
f766138662
commit
1e4e709d6f
1 changed files with 3 additions and 0 deletions
|
@ -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];
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue