From ea8b4cb0d74fcc3a5e851c8d077b3c0d7639eb6d Mon Sep 17 00:00:00 2001
From: Peter Denison <openwrt@marshadder.org>
Date: Sun, 8 Jun 2008 20:19:19 +0000
Subject: [PATCH] Compilation fix for hostapd with newer mac80211 code. Thanks
 Hauke Mehrtens. Fixes #3501

SVN-Revision: 11407
---
 package/hostapd/patches/002-add-nl80211-driver.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/hostapd/patches/002-add-nl80211-driver.patch b/package/hostapd/patches/002-add-nl80211-driver.patch
index ba178a0541..6f62a2a4a8 100644
--- a/package/hostapd/patches/002-add-nl80211-driver.patch
+++ b/package/hostapd/patches/002-add-nl80211-driver.patch
@@ -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"
-- 
GitLab