summaryrefslogtreecommitdiff
path: root/recipes/hostap/files/hostap-no-bsd.patch
diff options
context:
space:
mode:
authorMartin Dietze <martin@the-little-red-haired-girl.org>2009-05-23 13:22:43 +0200
committermd <md@freiheit.com>2009-05-27 21:50:57 +0200
commit46df71fbf94cb99c2ad72df67286ccae0b47b094 (patch)
tree4a9728b3a39aa357044179936b3c92ff6f962d60 /recipes/hostap/files/hostap-no-bsd.patch
parenteabb7e3ab0a68d76603dce6053f549ec5aeb1075 (diff)
hostap: nylon-specific patches * for hostap-daemon 0.4.4, the MADWIFI_BSD macro is unset * for hostap-daemon 0.5.10, dependency and include dirs for madwifi are added
Diffstat (limited to 'recipes/hostap/files/hostap-no-bsd.patch')
-rw-r--r--recipes/hostap/files/hostap-no-bsd.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes/hostap/files/hostap-no-bsd.patch b/recipes/hostap/files/hostap-no-bsd.patch
new file mode 100644
index 0000000000..c40d98c959
--- /dev/null
+++ b/recipes/hostap/files/hostap-no-bsd.patch
@@ -0,0 +1,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>