Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f3a138c1 authored by Marcel Holtmann's avatar Marcel Holtmann Committed by John W. Linville
Browse files

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: default avatarMarcel Holtmann <marcel@holtmann.org>
Acked-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 99e126fd
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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---