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:
Jouni Malinen 2011-11-15 20:10:23 +02:00
parent 8a5e75f60f
commit 527a398866

View file

@ -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 */