diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-06-27 22:47:18 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-06-27 22:47:18 -0400 |
commit | a5fe736eaf9bae1b45317313de04b564441b94f2 (patch) | |
tree | 3b194431e6767702fa09f54a39b4c2ae788eaf00 /include/linux | |
parent | 1bad3f4050b2a641bbfeaddb2717b28247311e9c (diff) |
Update is_multicast_ether_addr() definition; net/ieee80211.h cleanups.
Diffstat (limited to 'include/linux')
-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) | |||
65 | */ | 65 | */ |
66 | static inline int is_multicast_ether_addr(const u8 *addr) | 66 | static inline int is_multicast_ether_addr(const u8 *addr) |
67 | { | 67 | { |
68 | return addr[0] & 0x01; | 68 | return ((addr[0] != 0xff) && (0x01 & addr[0])); |
69 | } | 69 | } |
70 | 70 | ||
71 | /** | 71 | /** |