Fix hostapd compilation which was broken only for 2.6.25 (#3733).
[openwrt/svn-archive/archive.git] / package / hostapd / patches / 001-include_wireless_copy.patch
1 diff -Naur hostapd/driver_nl80211.c hostapd.new/driver_nl80211.c
2 --- hostapd/hostapd/driver_nl80211.c 2008-02-23 03:45:24.000000000 +0100
3 +++ hostapd.new/hostapd/driver_nl80211.c 2008-06-28 12:46:56.000000000 +0200
4 @@ -27,7 +27,7 @@
5 #include <net/if.h>
6 #include <linux/if_packet.h>
7 #include <linux/if_ether.h> /* The L2 protocols */
8 -#include <linux/wireless.h>
9 +#include "wireless_copy.h"
10 #include <net/if_arp.h>
11
12 #include "hostapd.h"
13