summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorIlan Elias <ilane@ti.com>2011-09-22 11:36:19 +0300
committerJohn W. Linville <linville@tuxdriver.com>2011-09-27 14:34:05 -0400
commit38f04c6b1b682f1879441e2925403ad9aff9e229 (patch)
treecfd23b3e84b078049b69b81a0fe10f4442ca503f /include/net
parentde054799b7ffee8ce1e3971a8dcd7816ccf04977 (diff)
downloadblackbird-op-linux-38f04c6b1b682f1879441e2925403ad9aff9e229.tar.gz
blackbird-op-linux-38f04c6b1b682f1879441e2925403ad9aff9e229.zip
NFC: protect nci_data_exchange transactions
Protect 'cb' and 'cb_context' arguments in nci_data_exchange. In fact, this implements a queue with max length of 1 data exchange transactions in parallel. Signed-off-by: Ilan Elias <ilane@ti.com> Acked-by: Lauro Ramos Venancio <lauro.venancio@openbossa.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/nfc/nci_core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/nfc/nci_core.h b/include/net/nfc/nci_core.h
index 2563f3a95e67..b8b4bbd7e0fc 100644
--- a/include/net/nfc/nci_core.h
+++ b/include/net/nfc/nci_core.h
@@ -40,6 +40,7 @@ enum {
NCI_UP,
NCI_DISCOVERY,
NCI_POLL_ACTIVE,
+ NCI_DATA_EXCHANGE,
};
/* NCI timeouts */
OpenPOWER on IntegriCloud