diff options
author | Ron Mercer <ron.mercer@qlogic.com> | 2009-11-17 06:10:40 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-18 08:03:28 -0500 |
commit | 63ae93a19094d88c8ca62543586b20e3a7ff7637 (patch) | |
tree | 31499f6b1df31a39ab1c8414c37b9d607e00ee15 /drivers/net/qlge | |
parent | f99189b186f3922ede4fa33c02f6edc735b8c981 (diff) |
qlge: Bonding fix for mode 6.
Allow MAC address to be changed even if device is not up.
Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/qlge')
-rw-r--r-- | drivers/net/qlge/qlge_main.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/qlge/qlge_main.c b/drivers/net/qlge/qlge_main.c index e2ee47d9bca5..7692299e7826 100644 --- a/drivers/net/qlge/qlge_main.c +++ b/drivers/net/qlge/qlge_main.c | |||
@@ -3951,9 +3951,6 @@ static int qlge_set_mac_address(struct net_device *ndev, void *p) | |||
3951 | struct sockaddr *addr = p; | 3951 | struct sockaddr *addr = p; |
3952 | int status; | 3952 | int status; |
3953 | 3953 | ||
3954 | if (netif_running(ndev)) | ||
3955 | return -EBUSY; | ||
3956 | |||
3957 | if (!is_valid_ether_addr(addr->sa_data)) | 3954 | if (!is_valid_ether_addr(addr->sa_data)) |
3958 | return -EADDRNOTAVAIL; | 3955 | return -EADDRNOTAVAIL; |
3959 | memcpy(ndev->dev_addr, addr->sa_data, ndev->addr_len); | 3956 | memcpy(ndev->dev_addr, addr->sa_data, ndev->addr_len); |