Compilation fix for hostapd with newer mac80211 code. Thanks Hauke Mehrtens.
authorPeter Denison <openwrt@marshadder.org>
Sun, 8 Jun 2008 20:19:19 +0000 (20:19 +0000)
committerPeter Denison <openwrt@marshadder.org>
Sun, 8 Jun 2008 20:19:19 +0000 (20:19 +0000)
Fixes #3501

SVN-Revision: 11407

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"