2009-11-29 16:56:38 +00:00
|
|
|
--- a/src/drivers/driver_nl80211.c
|
|
|
|
+++ b/src/drivers/driver_nl80211.c
|
2010-01-08 16:55:19 +00:00
|
|
|
@@ -22,6 +22,7 @@
|
2009-11-29 16:56:38 +00:00
|
|
|
#include <netlink/genl/genl.h>
|
|
|
|
#include <netlink/genl/family.h>
|
|
|
|
#include <netlink/genl/ctrl.h>
|
|
|
|
+#include <linux/rtnetlink.h>
|
2010-01-08 16:55:19 +00:00
|
|
|
#include <netpacket/packet.h>
|
|
|
|
#include <linux/filter.h>
|
2009-11-29 16:56:38 +00:00
|
|
|
#include "nl80211_copy.h"
|
2010-01-08 21:25:40 +00:00
|
|
|
--- a/src/drivers/driver_madwifi.c
|
|
|
|
+++ b/src/drivers/driver_madwifi.c
|
|
|
|
@@ -69,6 +69,7 @@
|
|
|
|
#define MADWIFI_NG
|
|
|
|
#endif /* IEEE80211_IOCTL_SETWMMPARAMS */
|
|
|
|
|
|
|
|
+#define WPA_KEY_RSC_LEN 8
|
|
|
|
|
|
|
|
#ifdef HOSTAPD
|
|
|
|
|
2010-03-09 17:36:10 +00:00
|
|
|
@@ -1506,7 +1507,6 @@ wpa_driver_madwifi_set_key(const char *i
|
2010-01-08 21:25:40 +00:00
|
|
|
wk.ik_keyix = key_idx;
|
|
|
|
wk.ik_keylen = key_len;
|
|
|
|
#ifdef WORDS_BIGENDIAN
|
|
|
|
-#define WPA_KEY_RSC_LEN 8
|
|
|
|
{
|
|
|
|
size_t i;
|
|
|
|
u8 tmp[WPA_KEY_RSC_LEN];
|