net: fastboot: Fix build when FASTBOOT_FLASH is disabled
authorAlex Kiernan <alex.kiernan@gmail.com>
Fri, 15 Jun 2018 05:06:00 +0000 (05:06 +0000)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 2 Jul 2018 19:14:20 +0000 (14:14 -0500)
commit6dc73df73b2b95ec171d82558c2a0ed1437d8c0a
tree74a6f77ec616806fdf287f23042afedca98f5ddb
parentd1b226b7d403b29c1064318097d972ce804e96e7
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>
net/fastboot.c