summaryrefslogtreecommitdiffstats
path: root/package/hostapd
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-07-10 14:23:06 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-07-10 14:23:06 +0000
commitab218a449bdc69158f83da374e3663f695c8efb4 (patch)
tree7f5d9be7c9cb543f4c4fa26e326c70be79077ea8 /package/hostapd
parentff16d4f00902c4b300836b0890f53b44a7163d81 (diff)
Fix hostapd compilation which was broken only for 2.6.25 (#3733).
Thanks to Hauke Mehrtens. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11763 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/hostapd')
-rw-r--r--package/hostapd/patches/001-include_wireless_copy.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/hostapd/patches/001-include_wireless_copy.patch b/package/hostapd/patches/001-include_wireless_copy.patch
new file mode 100644
index 000000000..1fa6d2809
--- /dev/null
+++ b/package/hostapd/patches/001-include_wireless_copy.patch
@@ -0,0 +1,13 @@
+diff -Naur hostapd/driver_nl80211.c hostapd.new/driver_nl80211.c
+--- hostapd/hostapd/driver_nl80211.c 2008-02-23 03:45:24.000000000 +0100
++++ hostapd.new/hostapd/driver_nl80211.c 2008-06-28 12:46:56.000000000 +0200
+@@ -27,7 +27,7 @@
+ #include <net/if.h>
+ #include <linux/if_packet.h>
+ #include <linux/if_ether.h> /* The L2 protocols */
+-#include <linux/wireless.h>
++#include "wireless_copy.h"
+ #include <net/if_arp.h>
+
+ #include "hostapd.h"
+