diff options
author | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-02-25 20:41:25 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-02-28 14:06:53 -0500 |
commit | d45dcef77019012fc6769e657fc2f1a5d681bbbb (patch) | |
tree | ccc784f81c4d261cff12a872ebf8c77ca507daa5 /net/bluetooth/Kconfig | |
parent | f54b92b9272cde9720b1371937928e92c5b29fb4 (diff) |
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>
Diffstat (limited to 'net/bluetooth/Kconfig')
-rw-r--r-- | net/bluetooth/Kconfig | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/net/bluetooth/Kconfig b/net/bluetooth/Kconfig index c6f9c2fb4891..6ae5ec508587 100644 --- a/net/bluetooth/Kconfig +++ b/net/bluetooth/Kconfig | |||
@@ -31,9 +31,10 @@ menuconfig BT | |||
31 | to Bluetooth kernel modules are provided in the BlueZ packages. For | 31 | to Bluetooth kernel modules are provided in the BlueZ packages. For |
32 | more information, see <http://www.bluez.org/>. | 32 | more information, see <http://www.bluez.org/>. |
33 | 33 | ||
34 | if BT != n | ||
35 | |||
34 | config BT_L2CAP | 36 | config BT_L2CAP |
35 | bool "L2CAP protocol support" | 37 | bool "L2CAP protocol support" |
36 | depends on BT | ||
37 | select CRC16 | 38 | select CRC16 |
38 | help | 39 | help |
39 | L2CAP (Logical Link Control and Adaptation Protocol) provides | 40 | L2CAP (Logical Link Control and Adaptation Protocol) provides |
@@ -42,11 +43,12 @@ config BT_L2CAP | |||
42 | 43 | ||
43 | config BT_SCO | 44 | config BT_SCO |
44 | bool "SCO links support" | 45 | bool "SCO links support" |
45 | depends on BT | ||
46 | help | 46 | help |
47 | SCO link provides voice transport over Bluetooth. SCO support is | 47 | SCO link provides voice transport over Bluetooth. SCO support is |
48 | required for voice applications like Headset and Audio. | 48 | required for voice applications like Headset and Audio. |
49 | 49 | ||
50 | endif | ||
51 | |||
50 | source "net/bluetooth/rfcomm/Kconfig" | 52 | source "net/bluetooth/rfcomm/Kconfig" |
51 | 53 | ||
52 | source "net/bluetooth/bnep/Kconfig" | 54 | source "net/bluetooth/bnep/Kconfig" |