summaryrefslogtreecommitdiffstats
path: root/net/ieee802154/Kconfig
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2014-12-31 19:39:13 +0100
committerMarcel Holtmann <marcel@holtmann.org>2015-01-03 01:49:24 +0100
commit9dc52d49e28c05411ac855cf9223c48ed819507b (patch)
tree921635da03c34d67725b520c05eb4ba0386d6d95 /net/ieee802154/Kconfig
parent71e36b1b01b9573f09141acb76e1b4c0809a0b4a (diff)
downloadlinux-9dc52d49e28c05411ac855cf9223c48ed819507b.tar.gz
linux-9dc52d49e28c05411ac855cf9223c48ed819507b.tar.bz2
linux-9dc52d49e28c05411ac855cf9223c48ed819507b.zip
ieee802154: handle config as menuconfig
This patch handles the IEEE802154 Kconfig entry as menuconfig. Furthermore we move this entry out of "Network Options" and put it into "Networking" where the other networking subsystems are. This requires a menuconfig entry like all other networking subsystems. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/ieee802154/Kconfig')
-rw-r--r--net/ieee802154/Kconfig9
1 files changed, 6 insertions, 3 deletions
diff --git a/net/ieee802154/Kconfig b/net/ieee802154/Kconfig
index 98a190dea97d..9ea0af49a4ea 100644
--- a/net/ieee802154/Kconfig
+++ b/net/ieee802154/Kconfig
@@ -1,4 +1,4 @@
-config IEEE802154
+menuconfig IEEE802154
tristate "IEEE Std 802.15.4 Low-Rate Wireless Personal Area Networks support"
---help---
IEEE Std 802.15.4 defines a low data rate, low power and low
@@ -10,9 +10,10 @@ config IEEE802154
Say Y here to compile LR-WPAN support into the kernel or say M to
compile it as modules.
+if IEEE802154
+
config IEEE802154_SOCKET
tristate "IEEE 802.15.4 socket interface"
- depends on IEEE802154
default y
---help---
Socket interface for IEEE 802.15.4. Contains DGRAM sockets interface
@@ -21,6 +22,8 @@ config IEEE802154_SOCKET
config IEEE802154_6LOWPAN
tristate "6lowpan support over IEEE 802.15.4"
- depends on IEEE802154 && 6LOWPAN
+ depends on 6LOWPAN
---help---
IPv6 compression over IEEE 802.15.4.
+
+endif