diff options
author | Eric Lapuyade <eric.lapuyade@linux.intel.com> | 2012-09-13 17:10:48 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-09-25 00:17:25 +0200 |
commit | 8af00d48dc929442644bf68e9cd3d951d9697296 (patch) | |
tree | 4ed4b580674856dd204dccc6b5c769f5a262c00c /net/nfc/hci/llc.c | |
parent | 67cccfe17d1b3da1ed6c79e643c9be95ebde9642 (diff) |
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.c | 2 |
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); |