Fix build on big-endian hosts.
This commit is contained in:
parent
78d8efa894
commit
e55a8cb745
|
@ -626,6 +626,9 @@ bsd_get_seqnum(const char *ifname, void *priv, const u8 *addr, int idx,
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef WORDS_BIGENDIAN
|
#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
|
* wk.ik_keytsc is in host byte order (big endian), need to
|
||||||
|
|
Loading…
Reference in New Issue