aboutsummaryrefslogtreecommitdiffstats
path: root/package/hostapd/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-04-30 18:11:01 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-04-30 18:11:01 +0000
commitf06689ce617261ceed32e279a5ce22d33e4c2b68 (patch)
tree68a1ae2084c197d71ec362d499cb5e2ee802a193 /package/hostapd/patches
parent2e56467889aad37af32d27f4964e72bd947f5c54 (diff)
downloadupstream-f06689ce617261ceed32e279a5ce22d33e4c2b68.tar.gz
upstream-f06689ce617261ceed32e279a5ce22d33e4c2b68.tar.bz2
upstream-f06689ce617261ceed32e279a5ce22d33e4c2b68.zip
hostapd: use libnl-tiny instead of libnl
SVN-Revision: 15519
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 0000000000..51bc58a08a
--- /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 {