mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
net: fastboot: Fix build when FASTBOOT_FLASH is disabled
When building without FASTBOOT_FLASH we don't include the intermediate update callback to keep the client alive, so ensure we don't try setting it here. Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
This commit is contained in:
parent
d1b226b7d4
commit
6dc73df73b
1 changed files with 2 additions and 0 deletions
|
|
@ -309,7 +309,9 @@ void fastboot_start_server(void)
|
|||
|
||||
fastboot_our_port = WELL_KNOWN_PORT;
|
||||
|
||||
#if CONFIG_IS_ENABLED(FASTBOOT_FLASH)
|
||||
fastboot_set_progress_callback(fastboot_timed_send_info);
|
||||
#endif
|
||||
net_set_udp_handler(fastboot_handler);
|
||||
|
||||
/* zero out server ether in case the server ip has changed */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue