Bluetooth: Add missing selection of CONFIG_CRC16 for L2CAP layer
authorRandy Dunlap <randy.dunlap@oracle.com>
Mon, 24 Aug 2009 23:32:50 +0000 (16:32 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 24 Aug 2009 23:34:35 +0000 (16:34 -0700)
Fix net/bluetooth/l2cap.c build errors:

l2cap.c:(.text+0x126035): undefined reference to `crc16'
l2cap.c:(.text+0x126323): undefined reference to `crc16'
l2cap.c:(.text+0x12668e): undefined reference to `crc16'
l2cap.c:(.text+0x12683b): undefined reference to `crc16'
l2cap.c:(.text+0x126956): undefined reference to `crc16'
net/built-in.o:l2cap.c:(.text+0x129041): more undefined references to `crc16' follow

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/Kconfig

index 59fdb1d2e8edfc8e3bd0c6eaae058f36a179e7bc..ed371684c133d184e9d68f87b85ea171f6107a13 100644 (file)
@@ -34,6 +34,7 @@ menuconfig BT
 config BT_L2CAP
        tristate "L2CAP protocol support"
        depends on BT
+       select CRC16
        help
          L2CAP (Logical Link Control and Adaptation Protocol) provides
          connection oriented and connection-less data transport.  L2CAP