mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-18 10:54:03 -05:00
driver_madwifi: fix a compile error on big endian systems
This commit is contained in:
parent
22a062815d
commit
089da7c32b
@ -69,6 +69,7 @@
|
|||||||
#define MADWIFI_NG
|
#define MADWIFI_NG
|
||||||
#endif /* IEEE80211_IOCTL_SETWMMPARAMS */
|
#endif /* IEEE80211_IOCTL_SETWMMPARAMS */
|
||||||
|
|
||||||
|
#define WPA_KEY_RSC_LEN 8
|
||||||
|
|
||||||
#ifdef HOSTAPD
|
#ifdef HOSTAPD
|
||||||
|
|
||||||
@ -1510,7 +1511,6 @@ wpa_driver_madwifi_set_key(const char *ifname, void *priv, enum wpa_alg alg,
|
|||||||
wk.ik_keyix = key_idx;
|
wk.ik_keyix = key_idx;
|
||||||
wk.ik_keylen = key_len;
|
wk.ik_keylen = key_len;
|
||||||
#ifdef WORDS_BIGENDIAN
|
#ifdef WORDS_BIGENDIAN
|
||||||
#define WPA_KEY_RSC_LEN 8
|
|
||||||
{
|
{
|
||||||
size_t i;
|
size_t i;
|
||||||
u8 tmp[WPA_KEY_RSC_LEN];
|
u8 tmp[WPA_KEY_RSC_LEN];
|
||||||
|
Loading…
Reference in New Issue
Block a user