aboutsummaryrefslogtreecommitdiffstats
path: root/net/nfc/hci/core.c
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2012-05-16 09:55:48 -0400
committerSamuel Ortiz <sameo@linux.intel.com>2012-06-04 15:34:30 -0400
commitbe9ae4ce4ee66e211815122ab4f41913efed4fec (patch)
tree157edfc0f57ab39fe14e1b7f994378da5a91b649 /net/nfc/hci/core.c
parentf212ad5e993e7efb996fc8ce94a5de8f0bd06d41 (diff)
NFC: Introduce target mode tx ops
And rename the initiator mode data exchange ops for consistency sake. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'net/nfc/hci/core.c')
-rw-r--r--net/nfc/hci/core.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/nfc/hci/core.c b/net/nfc/hci/core.c
index 281f3a3bec0..a8b0b71e8f8 100644
--- a/net/nfc/hci/core.c
+++ b/net/nfc/hci/core.c
@@ -512,9 +512,9 @@ static void hci_deactivate_target(struct nfc_dev *nfc_dev,
512{ 512{
513} 513}
514 514
515static int hci_data_exchange(struct nfc_dev *nfc_dev, struct nfc_target *target, 515static int hci_transceive(struct nfc_dev *nfc_dev, struct nfc_target *target,
516 struct sk_buff *skb, data_exchange_cb_t cb, 516 struct sk_buff *skb, data_exchange_cb_t cb,
517 void *cb_context) 517 void *cb_context)
518{ 518{
519 struct nfc_hci_dev *hdev = nfc_get_drvdata(nfc_dev); 519 struct nfc_hci_dev *hdev = nfc_get_drvdata(nfc_dev);
520 int r; 520 int r;
@@ -580,7 +580,7 @@ static struct nfc_ops hci_nfc_ops = {
580 .stop_poll = hci_stop_poll, 580 .stop_poll = hci_stop_poll,
581 .activate_target = hci_activate_target, 581 .activate_target = hci_activate_target,
582 .deactivate_target = hci_deactivate_target, 582 .deactivate_target = hci_deactivate_target,
583 .data_exchange = hci_data_exchange, 583 .im_transceive = hci_transceive,
584 .check_presence = hci_check_presence, 584 .check_presence = hci_check_presence,
585}; 585};
586 586