51bc58a08adf305dcfb2a77a58e506e0a6d0faf6
[openwrt/openwrt.git] / package / hostapd / patches / 130-libnl_update.patch
1 --- a/hostapd/driver_nl80211.c
2 +++ b/hostapd/driver_nl80211.c
3 @@ -29,6 +29,7 @@
4 #include "wireless_copy.h"
5 #include <linux/filter.h>
6 #include <net/if_arp.h>
7 +#include <linux/rtnetlink.h>
8
9 #include "hostapd.h"
10 #include "driver.h"
11 @@ -45,6 +46,7 @@
12 /* libnl 2.0 compatibility code */
13 #define nl_handle_alloc_cb nl_socket_alloc_cb
14 #define nl_handle_destroy nl_socket_free
15 +#define nl_handle nl_sock
16 #endif /* CONFIG_LIBNL20 */
17
18 enum ieee80211_msg_type {