All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] 2.6.13-rc1-mm1 unresolved symbols
@ 2005-07-01 16:18 Bernhard Rosenkraenzer
  2005-07-01 18:49 ` Andrew Morton
  0 siblings, 1 reply; 2+ messages in thread
From: Bernhard Rosenkraenzer @ 2005-07-01 16:18 UTC (permalink / raw)
  To: akpm, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 147 bytes --]

ipw2200 in 2.6.13-rc1-mm1 makes use of is_broadcast_ether_addr, which was 
removed.

The attached patch restores that function for now.

LLaP
bero

[-- Attachment #2: 2.6.13-rc1-mm1-restore-is_broadcast_ether_addr.patch --]
[-- Type: text/x-diff, Size: 631 bytes --]

--- linux-2.6.13-rc1/include/net/ieee80211.h.ark	2005-07-01 17:46:22.000000000 +0200
+++ linux-2.6.13-rc1/include/net/ieee80211.h	2005-07-01 17:47:26.000000000 +0200
@@ -627,6 +627,11 @@
 #define MAC_FMT "%02x:%02x:%02x:%02x:%02x:%02x"
 #define MAC_ARG(x) ((u8*)(x))[0],((u8*)(x))[1],((u8*)(x))[2],((u8*)(x))[3],((u8*)(x))[4],((u8*)(x))[5]
 
+extern inline int is_broadcast_ether_addr(const u8 *addr)
+{
+	return ((addr[0] == 0xff) && (addr[1] == 0xff) && (addr[2] == 0xff) &&
+		(addr[3] == 0xff) && (addr[4] == 0xff) && (addr[5] == 0xff));
+}
 
 #define CFG_IEEE80211_RESERVE_FCS (1<<0)
 #define CFG_IEEE80211_COMPUTE_FCS (1<<1)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-07-01 18:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-01 16:18 [PATCH] 2.6.13-rc1-mm1 unresolved symbols Bernhard Rosenkraenzer
2005-07-01 18:49 ` Andrew Morton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.