summaryrefslogtreecommitdiffstats
path: root/net/nfc/hci/llc.c
diff options
context:
space:
mode:
authorEric Lapuyade <eric.lapuyade@linux.intel.com>2012-09-13 17:10:48 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2012-09-25 00:17:25 +0200
commit8af00d48dc929442644bf68e9cd3d951d9697296 (patch)
tree4ed4b580674856dd204dccc6b5c769f5a262c00c /net/nfc/hci/llc.c
parentNFC: Add an LLC Core layer to HCI (diff)
downloadlinux-8af00d48dc929442644bf68e9cd3d951d9697296.tar.xz
linux-8af00d48dc929442644bf68e9cd3d951d9697296.zip
NFC: Add a nop (passthrough) llc module to llc core
This is a passthrough llc. It can be used by HCI drivers that don't need link layer control. HCI will then write directly to the driver, and driver will deliver incoming frames directly to HCI without any processing. Signed-off-by: Eric Lapuyade <eric.lapuyade@intel.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'net/nfc/hci/llc.c')
-rw-r--r--net/nfc/hci/llc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/nfc/hci/llc.c b/net/nfc/hci/llc.c
index 73c42785ce84..32002e5339c0 100644
--- a/net/nfc/hci/llc.c
+++ b/net/nfc/hci/llc.c
@@ -28,7 +28,7 @@ int nfc_llc_init(void)
{
INIT_LIST_HEAD(&llc_engines);
- return 0;
+ return nfc_llc_nop_register();
}
EXPORT_SYMBOL(nfc_llc_init);