From: Jeff Garzik Date: Tue, 28 Jun 2005 02:47:18 +0000 (-0400) Subject: Update is_multicast_ether_addr() definition; net/ieee80211.h cleanups. X-Git-Tag: v2.6.13-rc1~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5fe736eaf9bae1b45317313de04b564441b94f2;p=pandora-kernel.git Update is_multicast_ether_addr() definition; net/ieee80211.h cleanups. --- 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])); } /** Reading git-diff-tree failed