linux/drivers/net/wwan
Sasha Levin c1df1d2271 net: wwan: Fix WWAN config symbols
[ Upstream commit 89212e160b ]

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: 9a44c1cc63 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2021-07-14 17:07:04 +02:00
..
Kconfig net: wwan: Fix WWAN config symbols 2021-07-14 17:07:04 +02:00
Makefile net: wwan: Fix WWAN config symbols 2021-07-14 17:07:04 +02:00
mhi_wwan_ctrl.c net: wwan: mhi_wwan_ctrl: Fix RX buffer starvation 2021-04-20 17:13:43 -07:00
wwan_core.c net: wwan: core: Return poll error in case of port removal 2021-04-22 13:26:02 -07:00