net: fastboot: Fix build when FASTBOOT_FLASH is disabled
PATCH 1/1 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 <[email protected]>
---
net/fastboot.c | 2 ++ 1 file changed, 2 insertions(+)
net/fastboot.c +2 -0
@@ -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 */
Signature · 1 line
2.17.0
PATCH 1/1 net: fastboot: Fix build when FASTBOOT_FLASH is disabled
Quoted 5 lines · Alex Kiernan
When building without
FASTBOOT_FLASHwe 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 <[email protected]>
Acked-by Joe Hershberger <[email protected]>
Hi Alex,
https://patchwork.ozlabs.org/patch/929797/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git
Thanks!
-Joe