Update is_multicast_ether_addr() definition; net/ieee80211.h cleanups.
This commit is contained in:
parent
1bad3f4050
commit
a5fe736eaf
2 changed files with 11 additions and 39 deletions
|
@ -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]));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue