diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-06-28 06:47:18 +0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-06-28 06:47:18 +0400 |
commit | a5fe736eaf9bae1b45317313de04b564441b94f2 (patch) | |
tree | 3b194431e6767702fa09f54a39b4c2ae788eaf00 /include/linux/etherdevice.h | |
parent | 1bad3f4050b2a641bbfeaddb2717b28247311e9c (diff) | |
download | linux-a5fe736eaf9bae1b45317313de04b564441b94f2.tar.xz |
Update is_multicast_ether_addr() definition; net/ieee80211.h cleanups.
Diffstat (limited to 'include/linux/etherdevice.h')
-rw-r--r-- | include/linux/etherdevice.h | 2 |
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])); } /** |