net: tftpput: Factor out start, restart and next block functions
authorSimon Glass <sjg@chromium.org>
Mon, 24 Oct 2011 18:00:04 +0000 (18:00 +0000)
committerWolfgang Denk <wd@denx.de>
Wed, 26 Oct 2011 19:34:27 +0000 (21:34 +0200)
commite4cde2f70d2377fdf484cbbc1729b188f81b8ec8
tree7b00e4b8bf93d331f30d62ee7bfb90b11aa24559
parentf5329bbc3f951f01c39c24f06a57c34d865f5a16
net: tftpput: Factor out start, restart and next block functions

This code is required for tftpput, so move it into separate functions.

Signed-off-by: Simon Glass <sjg@chromium.org>
net/tftp.c