summaryrefslogtreecommitdiff
path: root/net/tftp.c
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2012-07-23 13:11:16 +0000
committerJoe Hershberger <joe.hershberger@ni.com>2012-07-24 14:09:40 -0500
commita03d63880578bc688c76dd5ac88e44dffbbb5262 (patch)
tree6e6987cde68728f7fc4f217127a59f5296ab66d1 /net/tftp.c
parent8b10652d6d9cc05023b5a6b73840078066f95a50 (diff)
downloadu-boot-imx-a03d63880578bc688c76dd5ac88e44dffbbb5262.zip
u-boot-imx-a03d63880578bc688c76dd5ac88e44dffbbb5262.tar.gz
u-boot-imx-a03d63880578bc688c76dd5ac88e44dffbbb5262.tar.bz2
net: Make sure the ethaddr is updated in net_init()
NetConsole may call NetSendUDPPacket before NetLoop is called. This will cause the source MAC address (NetOurEther) to be wrong. Instead of only changing it in NetLoop, move it to NetLoopInit so that it is also updated when net_init() is called (especially by nc_start()). Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Reported-by: Michael Walle <michael@walle.cc> Acked-by: Michael Walle <michael@walle.cc>
Diffstat (limited to 'net/tftp.c')
0 files changed, 0 insertions, 0 deletions