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/ieee80211/files
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/ieee80211/files')
-rw-r--r--net-wireless/ieee80211/files/ieee80211-1.0.3-broadcast.patch6
1 files changed, 3 insertions, 3 deletions
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)