mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-28 00:31:54 +02:00
b4c8460d07
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15519 3c298f89-4303-0410-b956-a3cf2f4a3e73
19 lines
463 B
Diff
19 lines
463 B
Diff
--- 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 {
|