[PATCH] BSD: Define WPA_KEY_RSC_LEN if it doesn't exist for BIG ENDIAN machines.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 7e86888cedffe270ff3509aca68253bb33decae9
Author: Roy Marples <roy@xxxxxxxxxxxx>
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@xxxxxxxxxxxx>

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
_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap

[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux