Fix wireless build
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.
Signed-off-by Benjamin Herrenschmidt <[email protected]>
net/core/wireless.c +1 -1
@@ -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 */
David S. Miller
maintainerFrom: 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.Signed-off-by Benjamin Herrenschmidt <[email protected]>
Sorry about that. Linus fixed it in his tree already, thanks for the report.