mirror of
https://github.com/torvalds/linux.git
synced 2024-11-18 01:51:53 +00:00
f3a138c10b
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>
18 lines
514 B
Plaintext
18 lines
514 B
Plaintext
config NFC_HCI
|
|
depends on NFC
|
|
tristate "NFC HCI implementation"
|
|
default n
|
|
help
|
|
Say Y here if you want to build support for a kernel NFC HCI
|
|
implementation. This is mostly needed for devices that only process
|
|
HCI frames, like for example the NXP pn544.
|
|
|
|
config NFC_SHDLC
|
|
depends on NFC_HCI
|
|
select CRC_CCITT
|
|
bool "SHDLC link layer for HCI based NFC drivers"
|
|
default n
|
|
---help---
|
|
Say yes if you use an NFC HCI driver that requires SHDLC link layer.
|
|
If unsure, say N here.
|