aboutsummaryrefslogtreecommitdiffstats
path: root/package
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
commit6ce90189ad1aabb002d6cf07621a10fb51449975 (patch)
tree1e63b55b9a6cf8b9f6f67e703d8026c6c7734ced /package
parent1c70591c3d9d7affb0e39bb21427422135aebab3 (diff)
downloadupstream-6ce90189ad1aabb002d6cf07621a10fb51449975.tar.gz
upstream-6ce90189ad1aabb002d6cf07621a10fb51449975.tar.bz2
upstream-6ce90189ad1aabb002d6cf07621a10fb51449975.zip
Fix hostapd compilation which was broken only for 2.6.25 (#3733). Thanks to Hauke Mehrtens.
SVN-Revision: 11763
Diffstat (limited to 'package')
-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"
+