summaryrefslogtreecommitdiffstats
path: root/net/nfc/hci
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-05-03 07:12:48 +0200
committerJohn W. Linville <linville@tuxdriver.com>2012-05-15 17:27:28 -0400
commitf3a138c10b9a5f716d2b773e0ae08401ebd19f80 (patch)
treec8bbce69088765dd928fc037164a80fa85d743e9 /net/nfc/hci
parent99e126fdc04fb567567a6ec14317fae16a7a2de1 (diff)
downloadlinux-f3a138c10b9a5f716d2b773e0ae08401ebd19f80.tar.gz
linux-f3a138c10b9a5f716d2b773e0ae08401ebd19f80.tar.bz2
linux-f3a138c10b9a5f716d2b773e0ae08401ebd19f80.zip
NFC: Select CRC_CCITT for SHDLC link layer of HCI based drivers
The SHDLC link layer of HCI based drivers uses CRC-CCITT and thus needs to select that kernel option. Otherwise it ends up with this linking error: net/built-in.o: In function `nfc_shdlc_add_len_crc': net/nfc/hci/shdlc.c:113: undefined reference to `crc_ccitt' Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Acked-by: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/nfc/hci')
-rw-r--r--net/nfc/hci/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/nfc/hci/Kconfig b/net/nfc/hci/Kconfig
index 17213a6362b4..fd67f51d18e9 100644
--- a/net/nfc/hci/Kconfig
+++ b/net/nfc/hci/Kconfig
@@ -9,6 +9,7 @@ config NFC_HCI
config NFC_SHDLC
depends on NFC_HCI
+ select CRC_CCITT
bool "SHDLC link layer for HCI based NFC drivers"
default n
---help---