Skip to content

Commit

Permalink
qlge: Bonding fix for mode 6.
Browse files Browse the repository at this point in the history
Allow MAC address to be changed even if device is not up.

Signed-off-by: Ron Mercer <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Ron Mercer authored and davem330 committed Nov 18, 2009
1 parent f99189b commit 63ae93a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/net/qlge/qlge_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -3951,9 +3951,6 @@ static int qlge_set_mac_address(struct net_device *ndev, void *p)
struct sockaddr *addr = p;
int status;

if (netif_running(ndev))
return -EBUSY;

if (!is_valid_ether_addr(addr->sa_data))
return -EADDRNOTAVAIL;
memcpy(ndev->dev_addr, addr->sa_data, ndev->addr_len);
Expand Down

0 comments on commit 63ae93a

Please sign in to comment.