NFC: protect nci_data_exchange transactions
authorIlan Elias <ilane@ti.com>
Thu, 22 Sep 2011 08:36:19 +0000 (11:36 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 27 Sep 2011 18:34:05 +0000 (14:34 -0400)
commit38f04c6b1b682f1879441e2925403ad9aff9e229
treecfd23b3e84b078049b69b81a0fe10f4442ca503f
parentde054799b7ffee8ce1e3971a8dcd7816ccf04977
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>
include/net/nfc/nci_core.h
net/nfc/nci/core.c
net/nfc/nci/data.c
net/nfc/nci/ntf.c