summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Brix Andersen <brix@gentoo.org>2005-09-02 17:43:38 +0000
committerHenrik Brix Andersen <brix@gentoo.org>2005-09-02 17:43:38 +0000
commit9643b7af729bd929d70d64c23078641773b7ad23 (patch)
tree92403956abede0a64c98d20ed76f5253b6e9cd31 /net-wireless
parentFix DHCP issues with some Access Points. (diff)
downloadgentoo-2-9643b7af729bd929d70d64c23078641773b7ad23.tar.gz
gentoo-2-9643b7af729bd929d70d64c23078641773b7ad23.tar.bz2
gentoo-2-9643b7af729bd929d70d64c23078641773b7ad23.zip
Updated patch.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/ieee80211/ChangeLog6
-rw-r--r--net-wireless/ieee80211/files/ieee80211-1.0.3-broadcast.patch6
2 files changed, 8 insertions, 4 deletions
diff --git a/net-wireless/ieee80211/ChangeLog b/net-wireless/ieee80211/ChangeLog
index 949c4f8a0c12..21f9756c08ba 100644
--- a/net-wireless/ieee80211/ChangeLog
+++ b/net-wireless/ieee80211/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-wireless/ieee80211
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/ieee80211/ChangeLog,v 1.6 2005/09/02 17:32:44 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/ieee80211/ChangeLog,v 1.7 2005/09/02 17:43:38 brix Exp $
+
+ 02 Sep 2005; Henrik Brix Andersen <brix@gentoo.org>
+ files/ieee80211-1.0.3-broadcast.patch:
+ Updated patch.
*ieee80211-1.0.3-r1 (02 Sep 2005)
diff --git a/net-wireless/ieee80211/files/ieee80211-1.0.3-broadcast.patch b/net-wireless/ieee80211/files/ieee80211-1.0.3-broadcast.patch
index ff9b6745f2fd..cb7ba41a2111 100644
--- a/net-wireless/ieee80211/files/ieee80211-1.0.3-broadcast.patch
+++ b/net-wireless/ieee80211/files/ieee80211-1.0.3-broadcast.patch
@@ -1,14 +1,14 @@
diff -urp ieee80211-1.0.3/net/ieee80211.h ieee80211-1.0.3-broadcast/net/ieee80211.h
--- ieee80211-1.0.3/net/ieee80211.h 2005-07-15 01:53:35.000000000 +0200
-+++ ieee80211-1.0.3-broadcast/net/ieee80211.h 2005-09-02 19:15:03.000000000 +0200
++++ ieee80211-1.0.3-broadcast/net/ieee80211.h 2005-09-02 19:39:01.000000000 +0200
@@ -720,6 +720,11 @@ static inline int is_multicast_ether_add
return addr[0] & 0x01;
}
#endif
+static 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);
++ 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)