From: Michael Walle <michael@walle.cc>
Date: Wed, 28 Dec 2022 15:27:15 +0000 (+0100)
Subject: cmd: net: wget: fix Kconfig dependency
X-Git-Tag: v2025.01-rc5-pxa1908~1172^2~1
X-Git-Url: http://git.dujemihanovic.xyz/%22bddb.css/static/git-logo.png?a=commitdiff_plain;h=20422d693004f7a18714c9f9818450821bd78f43;p=u-boot.git

cmd: net: wget: fix Kconfig dependency

The wget command uses TCP, but fails to select PROT_TCP in Kconfig.
Instead it selects the non-existing symbol TCP. Fix the typo.

Signed-off-by: Michael Walle <michael@walle.cc>
---

diff --git a/cmd/Kconfig b/cmd/Kconfig
index d93731f2af..b2d7598717 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1814,7 +1814,7 @@ config SYS_DISABLE_AUTOLOAD
 
 config CMD_WGET
 	bool "wget"
-	select TCP
+	select PROT_TCP
 	help
 	  wget is a simple command to download kernel, or other files,
 	  from a http server over TCP.