Skip to content

Commit d45dcef

Browse files
Gustavo F. Padovanlinvjw
authored andcommitted
Bluetooth: Fix BT_L2CAP and BT_SCO in Kconfig
If we want something "bool" built-in in something "tristate" it can't "depend on" the tristate config option. Report by DaveM: I give it 'y' just to make it happen, for both, and afterways no matter how many times I rerun "make oldconfig" I keep seeing things like this in my build: scripts/kconfig/conf --silentoldconfig Kconfig include/config/auto.conf:986:warning: symbol value 'm' invalid for BT_SCO include/config/auto.conf:3156:warning: symbol value 'm' invalid for BT_L2CAP Reported-by: David S. Miller <davem@davemloft.net> Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi> Signed-off-by: John W. Linville <linville@tuxdriver.com>
1 parent f54b92b commit d45dcef

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎net/bluetooth/Kconfig‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,10 @@ menuconfig BT
3131
to Bluetooth kernel modules are provided in the BlueZ packages. For
3232
more information, see <http://www.bluez.org/>.
3333

34+
if BT != n
35+
3436
config BT_L2CAP
3537
bool "L2CAP protocol support"
36-
depends on BT
3738
select CRC16
3839
help
3940
L2CAP (Logical Link Control and Adaptation Protocol) provides
@@ -42,11 +43,12 @@ config BT_L2CAP
4243

4344
config BT_SCO
4445
bool "SCO links support"
45-
depends on BT
4646
help
4747
SCO link provides voice transport over Bluetooth. SCO support is
4848
required for voice applications like Headset and Audio.
4949

50+
endif
51+
5052
source "net/bluetooth/rfcomm/Kconfig"
5153

5254
source "net/bluetooth/bnep/Kconfig"

0 commit comments

Comments
 (0)