aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/usb/smsc95xx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/usb/smsc95xx.c b/drivers/net/usb/smsc95xx.c
index 12a3c88c5282..65cb1abfbe57 100644
--- a/drivers/net/usb/smsc95xx.c
+++ b/drivers/net/usb/smsc95xx.c
@@ -805,8 +805,6 @@ static int smsc95xx_reset(struct usbnet *dev)
805 return ret; 805 return ret;
806 } 806 }
807 807
808 smsc95xx_init_mac_address(dev);
809
810 ret = smsc95xx_set_mac_address(dev); 808 ret = smsc95xx_set_mac_address(dev);
811 if (ret < 0) 809 if (ret < 0)
812 return ret; 810 return ret;
@@ -1047,6 +1045,8 @@ static int smsc95xx_bind(struct usbnet *dev, struct usb_interface *intf)
1047 pdata->use_tx_csum = DEFAULT_TX_CSUM_ENABLE; 1045 pdata->use_tx_csum = DEFAULT_TX_CSUM_ENABLE;
1048 pdata->use_rx_csum = DEFAULT_RX_CSUM_ENABLE; 1046 pdata->use_rx_csum = DEFAULT_RX_CSUM_ENABLE;
1049 1047
1048 smsc95xx_init_mac_address(dev);
1049
1050 /* Init all registers */ 1050 /* Init all registers */
1051 ret = smsc95xx_reset(dev); 1051 ret = smsc95xx_reset(dev);
1052 1052