]> git.baikalelectronics.ru Git - uboot.git/commitdiff
net: CONFIG_NET_DEVICES in dhcp_handler()
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 26 Nov 2022 15:32:25 +0000 (16:32 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 2 Dec 2022 18:17:24 +0000 (19:17 +0100)
The symbol CONFIG_NET_DEVICES does not exist.
The correct name is CONFIG_NETDEVICES.

Fixes: 8551b8e047ed ("efi_loader: Let networking support depend on NETDEVICES")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
net/bootp.c

index 6c01e3815320b2660b15368e4047fcb06cd9397e..7ac0093945c13a4541c3160e1f9057a332ba7575 100644 (file)
@@ -1078,7 +1078,7 @@ static void dhcp_handler(uchar *pkt, unsigned dest, struct in_addr sip,
 #endif /* CONFIG_SYS_BOOTFILE_PREFIX */
                        dhcp_packet_process_options(bp);
                        if (CONFIG_IS_ENABLED(EFI_LOADER) &&
-                           CONFIG_IS_ENABLED(NET_DEVICES))
+                           CONFIG_IS_ENABLED(NETDEVICES))
                                efi_net_set_dhcp_ack(pkt, len);
 
 #if defined(CONFIG_SERVERIP_FROM_PROXYDHCP)