Here is an other fix.

The svn version doesn't compile with hostapd, because net/if.h and
linux/if.h are both included in the hostapd package with the new version
of mac80211.

With this patch hostapd includes an special linux/wireless.h like it is
done in mainline.

For me the hole svn version compiles with brcm47xx now.

--
Hauke


Hauke Mehrtens schrieb:
> With the new kernel 2.6.25 the kernel image doesn't build correctly.
> In 700-ssb-gigabit-ethernet-driver.patch is an error.
> 
> This patch corrects it and makes the kernel compiling again.
> 
> --
> Hauke
Index: package/hostapd/patches/002-add-nl80211-driver.patch
===================================================================
--- package/hostapd/patches/002-add-nl80211-driver.patch	(revision 11363)
+++ package/hostapd/patches/002-add-nl80211-driver.patch	(working copy)
@@ -31,7 +31,7 @@
 +#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"

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to