net: write enetaddr down to hardware on env_callback
authorHannes Schmelzer <oe5hpm@oevsv.at>
Fri, 2 Sep 2016 12:48:17 +0000 (14:48 +0200)
committerJoe Hershberger <joe.hershberger@ni.com>
Thu, 13 Oct 2016 17:25:26 +0000 (12:25 -0500)
commitc86ff7fdb2272e25c8abba2e36d4f28f9282cd37
treeb4568686aca64252dc49a7f7903125ae869f7bf8
parent6723b235520190bdc774760126fc063ec794c37f
net: write enetaddr down to hardware on env_callback

If mac-address is changed using "setenv ethaddr ...." command the new
mac-adress also must be written into the responsible ethernet driver.

Signed-off-by: Hannes Schmelzer <oe5hpm@oevsv.at>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
net/eth-uclass.c