aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/etherdevice.h
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@pobox.com>2005-06-27 22:47:18 -0400
committerJeff Garzik <jgarzik@pobox.com>2005-06-27 22:47:18 -0400
commita5fe736eaf9bae1b45317313de04b564441b94f2 (patch)
tree3b194431e6767702fa09f54a39b4c2ae788eaf00 /include/linux/etherdevice.h
parentMerge /spare/repo/linux-2.6/ (diff)
downloadlinux-dev-a5fe736eaf9bae1b45317313de04b564441b94f2.tar.xz
linux-dev-a5fe736eaf9bae1b45317313de04b564441b94f2.zip
Update is_multicast_ether_addr() definition; net/ieee80211.h cleanups.
Diffstat (limited to 'include/linux/etherdevice.h')
-rw-r--r--include/linux/etherdevice.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/etherdevice.h b/include/linux/etherdevice.h
index a1478258d002..8a2df4dfbc59 100644
--- a/include/linux/etherdevice.h
+++ b/include/linux/etherdevice.h
@@ -65,7 +65,7 @@ static inline int is_zero_ether_addr(const u8 *addr)
*/
static inline int is_multicast_ether_addr(const u8 *addr)
{
- return addr[0] & 0x01;
+ return ((addr[0] != 0xff) && (0x01 & addr[0]));
}
/**