diff options
author | Paul Barker <paul.barker.ct@bp.renesas.com> | 2025-03-07 15:15:29 +0000 |
---|---|---|
committer | Jerome Forissier <jerome.forissier@linaro.org> | 2025-03-31 09:46:25 +0200 |
commit | 64b973fc78fdba18389d372d6af2af18ee79dd8c (patch) | |
tree | 1ba5750e71a5d89270a3fe4f542043f53ac858a9 /lib/mbedtls/pkcs7_parser.c | |
parent | f93b15e70649d0639b71206abf03ca34184a0ed3 (diff) |
cmd: Kconfig: Fix submenu for network commands
The Kconfig parser seems to get confused by the current if conditions
following CMD_NET and displays all network command options directly in
the "Command line interface" menu instead of in a "Network commands"
submenu.
To help out Kconfig we can simplify the if conditions, so that the
definition of CMD_NET is followed immediately by an if/endif block that
contains all network command options. We can also remove nested checks
for CMD_NET or (NET || NET_LWIP).
Fixes: 98ad145db61a ("net: lwip: add DHCP support and dhcp commmand")
Signed-off-by: Paul Barker <paul.barker.ct@bp.renesas.com>
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Diffstat (limited to 'lib/mbedtls/pkcs7_parser.c')
0 files changed, 0 insertions, 0 deletions