]> git.sur5r.net Git - u-boot/commit
net: cancel timeout handler after DHCPACK
authorStefan Brüns <stefan.bruens@rwth-aachen.de>
Sun, 30 Aug 2015 15:47:17 +0000 (17:47 +0200)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 28 Oct 2015 19:58:13 +0000 (14:58 -0500)
commit4f28c9b169eb3dfa0981f58f9c649a03be39fda0
tree958284cba4430b0468c33adeb2c967dadd323f6a
parent45b47734a0788721c76e3bb621a5133554e0a640
net: cancel timeout handler after DHCPACK

Timeout handler should be stopped after reception of DHCPACK. If "autoload"
is not set, the handler is immediately replaced by the TFTP handler,
otherwise it may trigger before the next boot stage begins.

Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
net/bootp.c