aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Salveti de Araujo <ricardo.salveti@canonical.com>2011-05-19 09:57:00 -0300
committerJohn Rigby <john.rigby@linaro.org>2011-06-28 15:57:52 +0100
commit01a1d2ba401e4f7b9be61309db5842290a14a3c4 (patch)
tree7a1b9ad87ca39cfd91a05ba165eae51f2e436083
parent19f2278c9e1cba3550942492bb89c996b4b524e2 (diff)
downloadu-boot-linaro-stable-01a1d2ba401e4f7b9be61309db5842290a14a3c4.tar.gz
smsc95xx: fix mac address register if a mac address is defined before "usb start"
Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com>
-rw-r--r--drivers/usb/eth/smsc95xx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/eth/smsc95xx.c b/drivers/usb/eth/smsc95xx.c
index 4d8dde090..97f272907 100644
--- a/drivers/usb/eth/smsc95xx.c
+++ b/drivers/usb/eth/smsc95xx.c
@@ -873,6 +873,7 @@ int smsc95xx_eth_get_info(struct usb_device *dev, struct ueth_data *ss,
eth->send = smsc95xx_send;
eth->recv = smsc95xx_recv;
eth->halt = smsc95xx_halt;
+ eth->write_hwaddr = smsc95xx_write_hwaddr;
eth->priv = ss;
return 1;
}