summaryrefslogtreecommitdiffstats
path: root/package/hostapd/patches
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-04-30 18:11:01 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-04-30 18:11:01 +0000
commitb4c8460d0724dcfc95df20c2da8350a0b12d66c7 (patch)
tree4922c4e3e5f2f7fddb9916866cbe9a4fb9527268 /package/hostapd/patches
parente849063a38d1772d7e377274b475ca0408eba7aa (diff)
hostapd: use libnl-tiny instead of libnl
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15519 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/hostapd/patches')
-rw-r--r--package/hostapd/patches/130-libnl_update.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/hostapd/patches/130-libnl_update.patch b/package/hostapd/patches/130-libnl_update.patch
new file mode 100644
index 000000000..51bc58a08
--- /dev/null
+++ b/package/hostapd/patches/130-libnl_update.patch
@@ -0,0 +1,18 @@
+--- a/hostapd/driver_nl80211.c
++++ b/hostapd/driver_nl80211.c
+@@ -29,6 +29,7 @@
+ #include "wireless_copy.h"
+ #include <linux/filter.h>
+ #include <net/if_arp.h>
++#include <linux/rtnetlink.h>
+
+ #include "hostapd.h"
+ #include "driver.h"
+@@ -45,6 +46,7 @@
+ /* libnl 2.0 compatibility code */
+ #define nl_handle_alloc_cb nl_socket_alloc_cb
+ #define nl_handle_destroy nl_socket_free
++#define nl_handle nl_sock
+ #endif /* CONFIG_LIBNL20 */
+
+ enum ieee80211_msg_type {