[PATCH] BSD: Define WPA_KEY_RSC_LEN if it doesn't exist for BIG ENDIAN machines.
Roy Marples
roy at marples.name
Tue Jan 19 07:37:33 PST 2016
commit 7e86888cedffe270ff3509aca68253bb33decae9
Author: Roy Marples <roy at marples.name>
Date: Tue Jan 19 15:34:56 2016 +0000
Define WPA_KEY_RSC_LEN if it doesn't exist for BIG ENDIAN machines.
Signed-off-by: Roy Marples <roy at marples.name>
diff --git a/src/drivers/driver_bsd.c b/src/drivers/driver_bsd.c
index 53d7e58..ce5ec0b 100644
--- a/src/drivers/driver_bsd.c
+++ b/src/drivers/driver_bsd.c
@@ -684,6 +684,9 @@ bsd_get_seqnum(const char *ifname, void *priv, const u8 *addr, int idx,
}
#ifdef WORDS_BIGENDIAN
+#ifndef WPA_KEY_RSC_LEN
+#define WPA_KEY_RSC_LEN 8
+#endif
{
/*
* wk.ik_keytsc is in host byte order (big endian), need to
More information about the Hostap
mailing list