aboutsummaryrefslogtreecommitdiffstats
path: root/package/hostapd/patches
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2008-07-10 14:23:06 +0000
committerFlorian Fainelli <florian@openwrt.org>2008-07-10 14:23:06 +0000
commit3ef97f4b82b26e3fb345640ef38c906a9c00344d (patch)
tree7f5d9be7c9cb543f4c4fa26e326c70be79077ea8 /package/hostapd/patches
parentb8ad974cb5af8b26482d106133180df502f8b4e2 (diff)
downloadmaster-187ad058-3ef97f4b82b26e3fb345640ef38c906a9c00344d.tar.gz
master-187ad058-3ef97f4b82b26e3fb345640ef38c906a9c00344d.tar.bz2
master-187ad058-3ef97f4b82b26e3fb345640ef38c906a9c00344d.zip
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/patches')
-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 0000000000..1fa6d28091
--- /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"
+