summaryrefslogtreecommitdiff
path: root/recipes/hostap/files/hostap-no-bsd.patch
blob: c40d98c959431850886f2471b7ca7ae16b0be0b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- hostapd-0.4.4/driver_madwifi.c-orig	2008-04-16 15:11:49.000000000 +0200
+++ hostapd-0.4.4/driver_madwifi.c	2008-04-16 15:10:38.000000000 +0200
@@ -26,14 +26,14 @@
 #include <net80211/ieee80211.h>
 #ifdef WME_NUM_AC
 /* Assume this is built against BSD branch of madwifi driver. */
-#define MADWIFI_BSD
+/*#define MADWIFI_BSD*/
+#include <linux/wireless.h>
 #include <net80211/_ieee80211.h>
 #endif /* WME_NUM_AC */
 #include <net80211/ieee80211_crypto.h>
 #include <net80211/ieee80211_ioctl.h>
 
 #include <net/if_arp.h>
-#include <linux/wireless.h>
 
 #include <netinet/in.h>
 #include <netpacket/packet.h>