Fix build on big-endian hosts.

This commit is contained in:
dogcow 2010-08-05 14:03:17 +00:00
parent 78d8efa894
commit e55a8cb745
1 changed files with 3 additions and 0 deletions

View File

@ -626,6 +626,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