Fix hostapd compilation which was broken only for 2.6.25 (#3733). Thanks to Hauke...
authorFlorian Fainelli <florian@openwrt.org>
Thu, 10 Jul 2008 14:23:06 +0000 (14:23 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Thu, 10 Jul 2008 14:23:06 +0000 (14:23 +0000)
SVN-Revision: 11763

package/hostapd/patches/001-include_wireless_copy.patch [new file with mode: 0644]

diff --git a/package/hostapd/patches/001-include_wireless_copy.patch b/package/hostapd/patches/001-include_wireless_copy.patch
new file mode 100644 (file)
index 0000000..1fa6d28
--- /dev/null
@@ -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"
+