qlge: Bonding fix for mode 6.
authorRon Mercer <ron.mercer@qlogic.com>
Tue, 17 Nov 2009 11:10:40 +0000 (11:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Nov 2009 13:03:28 +0000 (05:03 -0800)
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>
drivers/net/qlge/qlge_main.c

index e2ee47d9bca5fe37f030f9f500c996a7159e7bcf..7692299e7826b4bd5206e0f7ddd1b16dc9a0566a 100644 (file)
@@ -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);