]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: make sure 6LOWPAN_IPHC is built-in if needed
authorArnd Bergmann <arnd@arndb.de>
Thu, 13 Mar 2014 10:31:41 +0000 (11:31 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 13 Mar 2014 14:05:10 +0000 (07:05 -0700)
commit5c748fbe4b13afe86bda9959575921c28ded5eb3
tree9a844f680dd26a1d4dadb75c34d9367c62b2b8c0
parent1c9711096bcedd15eaef68700d33283a4dd5fb94
Bluetooth: make sure 6LOWPAN_IPHC is built-in if needed

Commit 6072ee947 "Bluetooth: make bluetooth 6lowpan as an option"
ensures that 6LOWPAN_IPHC is turned on when we have BT_6LOWPAN
enabled in Kconfig, but it allows building the IPHC code as
a loadable module even if the entire Bluetooth stack is built-in,
and that causes a link error.

We can solve that by moving the 'select' statement into CONFIG_BT,
which is a "tristate" option to enforce that 6LOWPAN_IPHC can
only be a module if BT also is a module.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/Kconfig