Quentin Schulz 747a24b229 cmd: bdinfo: fix incorrect Kconfig options check for print_eth()
CMD_NET_LWIP has never existed so it cannot be right. I'm guessing the
intent was to allow print_eth() to be called when NET_LWIP is defined
(NET means "legacy networking stack" as opposed to NET_LWIP which is the
 newest (and incompatible) stack). There probably was some mix-up
between CMD_NET and NET options.

The dependency on CMD_NET seems unnecessary as it seems perfectly fine
to run bdinfo without CMD_NET (build and run tested). So let's instead
make the dependency on NET || NET_LWIP.

Let's sync the unit test as well.

Fixes: 95744d2527cb ("cmd: bdinfo: enable -e when CONFIG_CMD_NET_LWIP=y")
Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
2026-01-02 15:51:54 -06:00
..
2025-02-11 20:12:36 -06:00
2024-10-18 14:10:21 -06:00
2025-02-11 20:12:36 -06:00
2025-12-08 13:17:27 -06:00
2025-12-04 09:38:58 -06:00
2025-08-06 08:41:52 +02:00
2025-02-11 20:12:36 -06:00
2025-02-11 20:12:36 -06:00
2025-12-05 08:54:44 -06:00
2025-02-11 20:12:36 -06:00
2025-02-11 20:12:36 -06:00