summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/bootp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bootp.c b/net/bootp.c
index defad73d1a..fbdc7cb3a3 100644
--- a/net/bootp.c
+++ b/net/bootp.c
@@ -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.
*/
-#ifdef CONFIG_STATUS_LED
+#if defined(CONFIG_STATUS_LED) && defined(STATUS_LED_BOOT)
status_led_set(STATUS_LED_BOOT, STATUS_LED_OFF);
#endif