Bluetooth: make sure 6LOWPAN_IPHC is built-in if needed
[cascardo/linux.git] / net / bluetooth / Kconfig
index 10c752f..06ec144 100644 (file)
@@ -6,6 +6,7 @@ menuconfig BT
        tristate "Bluetooth subsystem support"
        depends on NET && !S390
        depends on RFKILL || !RFKILL
+       select 6LOWPAN_IPHC if BT_6LOWPAN
        select CRC16
        select CRYPTO
        select CRYPTO_BLKCIPHER
@@ -42,7 +43,6 @@ menuconfig BT
 config BT_6LOWPAN
        bool "Bluetooth 6LoWPAN support"
        depends on BT && IPV6
-       select 6LOWPAN_IPHC
        help
          IPv6 compression over Bluetooth.