summaryrefslogtreecommitdiffstats
path: root/include/net/nfc
diff options
context:
space:
mode:
authorArron Wang <arron.wang@intel.com>2012-09-27 11:32:54 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2012-10-26 18:26:45 +0200
commit7e2afc9d072b9f84b314b208a125c2b1ce36b685 (patch)
tree971d9da17a072fbfcf87c4d844294e51154430da /include/net/nfc
parentMerge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linvil... (diff)
downloadlinux-7e2afc9d072b9f84b314b208a125c2b1ce36b685.tar.xz
linux-7e2afc9d072b9f84b314b208a125c2b1ce36b685.zip
NFC: Set local gb and DEP registries
Set the local general bytes and default value for NFCIP1 Target/Initiator registries if the protocol is NFC-DEP Signed-off-by: Arron Wang <arron.wang@intel.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/net/nfc')
-rw-r--r--include/net/nfc/hci.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/nfc/hci.h b/include/net/nfc/hci.h
index e900072950cb..df6523dcd3c8 100644
--- a/include/net/nfc/hci.h
+++ b/include/net/nfc/hci.h
@@ -114,6 +114,9 @@ struct nfc_hci_dev {
int async_cb_type;
data_exchange_cb_t async_cb;
void *async_cb_context;
+
+ u8 *gb;
+ size_t gb_len;
};
/* hci device allocation */