diff mbox series

[1/1] net: CONFIG_NET_DEVICES in dhcp_handler()

Message ID 20221126153844.119712-1-heinrich.schuchardt@canonical.com
State Accepted, archived
Delegated to: Ramon Fried
Headers show
Series [1/1] net: CONFIG_NET_DEVICES in dhcp_handler() | expand

Commit Message

Heinrich Schuchardt Nov. 26, 2022, 3:38 p.m. UTC
The symbol CONFIG_NET_DEVICES does not exist.
The correct name is CONFIG_NETDEVICES.

Fixes: 77b5c4a5b1dc ("efi_loader: Let networking support depend on NETDEVICES")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
---
 net/bootp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Ramon Fried Nov. 26, 2022, 10:50 p.m. UTC | #1
On Sat, Nov 26, 2022 at 5:38 PM Heinrich Schuchardt
<heinrich.schuchardt@canonical.com> wrote:
>
> The symbol CONFIG_NET_DEVICES does not exist.
> The correct name is CONFIG_NETDEVICES.
>
> Fixes: 77b5c4a5b1dc ("efi_loader: Let networking support depend on NETDEVICES")
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
> ---
>  net/bootp.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/net/bootp.c b/net/bootp.c
> index 6c01e38153..7ac0093945 100644
> --- a/net/bootp.c
> +++ b/net/bootp.c
> @@ -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)
> --
> 2.37.2
>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
diff mbox series

Patch

diff --git a/net/bootp.c b/net/bootp.c
index 6c01e38153..7ac0093945 100644
--- a/net/bootp.c
+++ b/net/bootp.c
@@ -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)