linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2/2] NFC: Select CRC_CCITT for SHDLC link layer of HCI based drivers
@ 2012-05-03  5:12 Marcel Holtmann
  2012-05-03 13:34 ` John W. Linville
  2012-05-07  8:23 ` Samuel Ortiz
  0 siblings, 2 replies; 4+ messages in thread
From: Marcel Holtmann @ 2012-05-03  5:12 UTC (permalink / raw)
  To: linux-wireless

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>
---
 net/nfc/hci/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/net/nfc/hci/Kconfig b/net/nfc/hci/Kconfig
index 17213a6..fd67f51 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---
-- 
1.7.7.6


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 2/2] NFC: Select CRC_CCITT for SHDLC link layer of HCI based drivers
  2012-05-03  5:12 [PATCH 2/2] NFC: Select CRC_CCITT for SHDLC link layer of HCI based drivers Marcel Holtmann
@ 2012-05-03 13:34 ` John W. Linville
  2012-05-03 20:36   ` Marcel Holtmann
  2012-05-07  8:23 ` Samuel Ortiz
  1 sibling, 1 reply; 4+ messages in thread
From: John W. Linville @ 2012-05-03 13:34 UTC (permalink / raw)
  To: Marcel Holtmann; +Cc: linux-wireless

Was there a [PATCH 1/2]?  I didn't get it...

On Thu, May 03, 2012 at 07:12:48AM +0200, Marcel Holtmann wrote:
> 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>
> ---
>  net/nfc/hci/Kconfig |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/net/nfc/hci/Kconfig b/net/nfc/hci/Kconfig
> index 17213a6..fd67f51 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---
> -- 
> 1.7.7.6
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

-- 
John W. Linville		Someday the world will need a hero, and you
linville@tuxdriver.com			might be all we have.  Be ready.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 2/2] NFC: Select CRC_CCITT for SHDLC link layer of HCI based drivers
  2012-05-03 13:34 ` John W. Linville
@ 2012-05-03 20:36   ` Marcel Holtmann
  0 siblings, 0 replies; 4+ messages in thread
From: Marcel Holtmann @ 2012-05-03 20:36 UTC (permalink / raw)
  To: John W. Linville; +Cc: linux-wireless

Hi John,

> Was there a [PATCH 1/2]?  I didn't get it...

yes, but it was a Bluetooth one :)

Regards

Marcel



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 2/2] NFC: Select CRC_CCITT for SHDLC link layer of HCI based drivers
  2012-05-03  5:12 [PATCH 2/2] NFC: Select CRC_CCITT for SHDLC link layer of HCI based drivers Marcel Holtmann
  2012-05-03 13:34 ` John W. Linville
@ 2012-05-07  8:23 ` Samuel Ortiz
  1 sibling, 0 replies; 4+ messages in thread
From: Samuel Ortiz @ 2012-05-07  8:23 UTC (permalink / raw)
  To: Marcel Holtmann; +Cc: linux-wireless

Hi Marcel,

On Thu, 2012-05-03 at 07:12 +0200, Marcel Holtmann wrote:
> 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>

Cheers,
Samuel.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-05-07  8:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-03  5:12 [PATCH 2/2] NFC: Select CRC_CCITT for SHDLC link layer of HCI based drivers Marcel Holtmann
2012-05-03 13:34 ` John W. Linville
2012-05-03 20:36   ` Marcel Holtmann
2012-05-07  8:23 ` Samuel Ortiz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).