Parcourir la source

Fix typo in WPA_AUTH_ALG_FT definition

This was not supposed to have duplicate value with WPA_AUTH_ALG_LEAP.
The previous version was unable to set FT as the authentication
algorithm with nl80211.
Marcin Marzec il y a 15 ans
Parent
commit
f400f4f34b
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/common/defs.h

+ 1 - 1
src/common/defs.h

@@ -77,7 +77,7 @@ static inline int wpa_key_mgmt_sha256(int akm)
 #define WPA_AUTH_ALG_OPEN BIT(0)
 #define WPA_AUTH_ALG_SHARED BIT(1)
 #define WPA_AUTH_ALG_LEAP BIT(2)
-#define WPA_AUTH_ALG_FT BIT(2)
+#define WPA_AUTH_ALG_FT BIT(3)
 
 
 enum wpa_alg {