Compilation fix for hostapd with newer mac80211 code. Thanks Hauke Mehrtens.
authornoz <noz@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 8 Jun 2008 20:19:19 +0000 (20:19 +0000)
committernoz <noz@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 8 Jun 2008 20:19:19 +0000 (20:19 +0000)
Fixes #3501

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11407 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/hostapd/patches/002-add-nl80211-driver.patch

index ba178a0..6f62a2a 100644 (file)
@@ -31,7 +31,7 @@ diff -urN hostapd.orig/driver_nl80211.c hostapd/driver_nl80211.c
 +#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"