Commit 82953328 authored by Thomas Chou's avatar Thomas Chou Committed by Joe Hershberger

net: protect status led access in bootp

This fixes the error when STATUS_LED_BOOT is not defined.
Signed-off-by: default avatarThomas Chou <>
Acked-by: default avatarJoe Hershberger <>
parent 214dc1da
......@@ -349,7 +349,7 @@ static void bootp_handler(uchar *pkt, unsigned dest, struct in_addr sip,
* Got a good BOOTP reply. Copy the data into our variables.
#if defined(CONFIG_STATUS_LED) && defined(STATUS_LED_BOOT)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment