Update is_multicast_ether_addr() definition; net/ieee80211.h cleanups.

This commit is contained in:
Jeff Garzik
2005-06-27 22:47:18 -04:00
parent 1bad3f4050
commit a5fe736eaf
2 changed files with 11 additions and 39 deletions

View 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]));
}
/**