OSDN Git Service

net: wwan: Fix WWAN config symbols
authorLoic Poulain <loic.poulain@linaro.org>
Mon, 14 Jun 2021 16:56:36 +0000 (18:56 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Jun 2021 20:17:10 +0000 (13:17 -0700)
commit89212e160b81e778f829b89743570665810e3b13
tree7a4641d1559eaa9b32b7f6e5c6e2c9a0dab989ae
parentec13357263fb672390250fcfaa4c86b6dce66062
net: wwan: Fix WWAN config symbols

There is not strong reason to have both WWAN and WWAN_CORE symbols,
Let's build the WWAN core framework when WWAN is selected, in the
same way as for other subsystems.

This fixes issue with mhi_net selecting WWAN_CORE without WWAN and
reported by kernel test robot:

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for WWAN_CORE
   Depends on NETDEVICES && WWAN
   Selected by
   - MHI_NET && NETDEVICES && NET_CORE && MHI_BUS

Fixes: 9a44c1cc6388 ("net: Add a WWAN subsystem")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/Kconfig
drivers/net/wwan/Kconfig
drivers/net/wwan/Makefile