From: Quentin Schulz <[email protected]>

We've had a new lwIP networking stack for a couple of years already, so
let's show there is a "net" feature if it's selected. Since NET_LEGACY
|| NET_LWIP is the same as NET, let's check on NET.

Reported-by: Simon Glass <[email protected]>
Closes: 
https://lore.kernel.org/u-boot/CAFLszTgZC1FGy8965pHiG-u=fhrguftrv41ghq_qb_rrxx6...@mail.gmail.com/
Reviewed-by: Simon Glass <[email protected]>
Reviewed-by: Casey Connolly <[email protected]>
Signed-off-by: Quentin Schulz <[email protected]>
---
 cmd/ufetch.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmd/ufetch.c b/cmd/ufetch.c
index f8dc904bdd0..bc5db08eee1 100644
--- a/cmd/ufetch.c
+++ b/cmd/ufetch.c
@@ -159,7 +159,7 @@ static int do_ufetch(struct cmd_tbl *cmdtp, int flag, int 
argc,
                        break;
                case FEATURES:
                        printf("Features:" RESET " ");
-                       if (IS_ENABLED(CONFIG_NET_LEGACY))
+                       if (IS_ENABLED(CONFIG_NET))
                                printf("Net");
                        if (IS_ENABLED(CONFIG_EFI_LOADER))
                                printf(", EFI");

-- 
2.54.0

Reply via email to