Skip to contentSkip to conversation

Fix wireless build

PATCH In review Benjamin Herrenschmidt 2 participants 2 messages Jan 11, 2006 Networking

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix wireless build

Current wireless core doesn't link here with a link error on compare_ether_addr. The function exists, but is defined inline and the wireless code forgets to #include the file containing the definition.

net/core/wireless.c +1 -1
Index: linux-work/net/core/wireless.c
===================================================================
@@ -78,7 +78,7 @@
 #include <linux/seq_file.h>
 #include <linux/init.h>			/* for __init */
 #include <linux/if_arp.h>		/* ARPHRD_ETHER */
-
+#include <linux/etherdevice.h>
 #include <linux/wireless.h>		/* Pretty obvious */
 #include <net/iw_handler.h>		/* New driver API */
 
maintainer
#1 lore raw

From: Benjamin Herrenschmidt <[email protected]>
Date: Wed, 11 Jan 2006 14:17:32 +1100

Quoted 5 lines

Current wireless core doesn't link here with a link error on compare_ether_addr. The function exists, but is defined inline and the wireless code forgets to #include the file containing the definition.

Sorry about that. Linus fixed it in his tree already, thanks for the report.