Update is_multicast_ether_addr() definition; net/ieee80211.h cleanups.
authorJeff Garzik <jgarzik@pobox.com>
Tue, 28 Jun 2005 02:47:18 +0000 (22:47 -0400)
committerJeff Garzik <jgarzik@pobox.com>
Tue, 28 Jun 2005 02:47:18 +0000 (22:47 -0400)
include/linux/etherdevice.h
include/net/ieee80211.h

index a147825..8a2df4d 100644 (file)
@@ -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]));
 }
 
 /**
Simple merge