[package] 6in4: replace sed match with variable substitution, change pattern from...
[openwrt.git] / package / hostapd / patches / 120-compile_fix.patch
1 --- a/src/drivers/driver_nl80211.c
2 +++ b/src/drivers/driver_nl80211.c
3 @@ -22,6 +22,7 @@
4 #include <netlink/genl/genl.h>
5 #include <netlink/genl/family.h>
6 #include <netlink/genl/ctrl.h>
7 +#include <linux/rtnetlink.h>
8 #include <netpacket/packet.h>
9 #include <linux/filter.h>
10 #include "nl80211_copy.h"
11 --- a/src/drivers/driver_madwifi.c
12 +++ b/src/drivers/driver_madwifi.c
13 @@ -69,6 +69,7 @@
14 #define MADWIFI_NG
15 #endif /* IEEE80211_IOCTL_SETWMMPARAMS */
16
17 +#define WPA_KEY_RSC_LEN 8
18
19 #ifdef HOSTAPD
20
21 @@ -1506,7 +1507,6 @@ wpa_driver_madwifi_set_key(const char *i
22 wk.ik_keyix = key_idx;
23 wk.ik_keylen = key_len;
24 #ifdef WORDS_BIGENDIAN
25 -#define WPA_KEY_RSC_LEN 8
26 {
27 size_t i;
28 u8 tmp[WPA_KEY_RSC_LEN];
This page took 0.040518 seconds and 5 git commands to generate.