[PATCH] Fix wireless build

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Signed-off-by: Benjamin Herrenschmidt <[email protected]>

Index: linux-work/net/core/wireless.c
===================================================================
--- linux-work.orig/net/core/wireless.c	2006-01-11 12:56:30.000000000 +1100
+++ linux-work/net/core/wireless.c	2006-01-11 14:14:27.000000000 +1100
@@ -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 */
 


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux