[net-next 04/18] net: mac802154: Include the softMAC stack inside the IEEE 802.15.4 menu

From: Miquel Raynal
Date: Wed Dec 22 2021 - 10:58:06 EST


From: David Girault <david.girault@xxxxxxxxx>

The softMAC stack has no meaning outside of the IEEE 802.15.4 stack and
cannot be used without it.

Signed-off-by: David Girault <david.girault@xxxxxxxxx>
[miquel.raynal@xxxxxxxxxxx: Isolate this change from a bigger commit]
Signed-off-by: Miquel Raynal <miquel.raynal@xxxxxxxxxxx>
---
net/Kconfig | 1 -
net/ieee802154/Kconfig | 1 +
2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/Kconfig b/net/Kconfig
index 0da89d09ffa6..a5e31078fd14 100644
--- a/net/Kconfig
+++ b/net/Kconfig
@@ -228,7 +228,6 @@ source "net/x25/Kconfig"
source "net/lapb/Kconfig"
source "net/phonet/Kconfig"
source "net/6lowpan/Kconfig"
-source "net/mac802154/Kconfig"
source "net/sched/Kconfig"
source "net/dcb/Kconfig"
source "net/dns_resolver/Kconfig"
diff --git a/net/ieee802154/Kconfig b/net/ieee802154/Kconfig
index 31aed75fe62d..7e4b1d49d445 100644
--- a/net/ieee802154/Kconfig
+++ b/net/ieee802154/Kconfig
@@ -36,6 +36,7 @@ config IEEE802154_SOCKET
for 802.15.4 dataframes. Also RAW socket interface to build MAC
header from userspace.

+source "net/mac802154/Kconfig"
source "net/ieee802154/6lowpan/Kconfig"

endif
--
2.27.0