Re: 2.6.13-rc1-mm1

randy_dunlap
2005-07-02T02:56:40Z

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

On Sat, 2 Jul 2005 04:43:23 +0200 Dominik Karall wrote:

| On Friday 01 July 2005 13:40, Andrew Morton wrote:
| > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.13-rc1/2.
| >6.13-rc1-mm1/
|
| I get this warning on modules_install:
| WARNING: /lib/modules/2.6.13-rc1-mm1/kernel/net/ieee80211/ieee80211.ko needs
| unknown symbol is_broadcast_ether_addr

From: Bernhard Rosenkraenzer <bero@arklinux.org>
To: akpm@osdl.org, linux-kernel@vger.kernel.org
Subject: [PATCH] 2.6.13-rc1-mm1 unresolved symbols
Date: Fri, 1 Jul 2005 18:18:17 +0200
Organization: Ark Linux team
User-Agent: KMail/1.8.1

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.

---

[-- Attachment #2: 2.6.13-rc1-mm1-restore-is_broadcast_ether_addr.patch --]
[-- Type: application/octet-stream, Size: 632 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)