wext: Define some new values if linux/wireless.h is too old
IW_ENCODE_ALG_PMK and IW_ENC_CAPA_4WAY_HANDSHAKE are not defined in the Android tree, so add compatibility defines for these. Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
8a5e75f60f
commit
527a398866
1 changed files with 8 additions and 0 deletions
|
@ -40,4 +40,12 @@ typedef __uint8_t __u8;
|
|||
|
||||
#include <linux/wireless.h>
|
||||
|
||||
#ifndef IW_ENCODE_ALG_PMK
|
||||
#define IW_ENCODE_ALG_PMK 4
|
||||
#endif
|
||||
|
||||
#ifndef IW_ENC_CAPA_4WAY_HANDSHAKE
|
||||
#define IW_ENC_CAPA_4WAY_HANDSHAKE 0x00000010
|
||||
#endif
|
||||
|
||||
#endif /* LINUX_WEXT_H */
|
||||
|
|
Loading…
Reference in a new issue