mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
net: e1000e: Use is_multicast_ether_addr helper
Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
6539fefd9b
commit
3e714ad3c2
@ -220,7 +220,7 @@ s32 e1000_check_alt_mac_addr_generic(struct e1000_hw *hw)
|
||||
}
|
||||
|
||||
/* if multicast bit is set, the alternate address will not be used */
|
||||
if (alt_mac_addr[0] & 0x01) {
|
||||
if (is_multicast_ether_addr(alt_mac_addr)) {
|
||||
e_dbg("Ignoring Alternate Mac Address with MC bit set\n");
|
||||
goto out;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user