summaryrefslogtreecommitdiffstats
path: root/nci
diff options
context:
space:
mode:
authorEvan Chu <evanchu@broadcom.com>2012-09-05 11:37:08 -0400
committerMartijn Coenen <maco@google.com>2012-09-06 12:22:14 +0200
commit3463d49a81556279bb0c4c74d9f4c9fd49ee61af (patch)
treee006d5eb290fd6e2f59b9703e52836fde5e832e2 /nci
parent7e5bdc93fb55d2090c4b32bff811abf4c39b2e52 (diff)
downloadpackages_apps_nfc-3463d49a81556279bb0c4c74d9f4c9fd49ee61af.zip
packages_apps_nfc-3463d49a81556279bb0c4c74d9f4c9fd49ee61af.tar.gz
packages_apps_nfc-3463d49a81556279bb0c4c74d9f4c9fd49ee61af.tar.bz2
Correct spelling.
Change-Id: Ie747c06a0a5161ad5479f93cbc56e482ed7da33c
Diffstat (limited to 'nci')
-rwxr-xr-xnci/jni/NativeNfcManager.cpp4
-rwxr-xr-xnci/jni/NativeNfcTag.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/nci/jni/NativeNfcManager.cpp b/nci/jni/NativeNfcManager.cpp
index da9b242..14e9cb9 100755
--- a/nci/jni/NativeNfcManager.cpp
+++ b/nci/jni/NativeNfcManager.cpp
@@ -47,7 +47,7 @@ namespace android
{
extern bool gIsTagDeactivating;
extern bool gIsSelectingRfInterface;
- extern void nativeNfcTag_doTranseiveStatus (uint8_t * buf, uint32_t buflen);
+ extern void nativeNfcTag_doTransceiveStatus (uint8_t * buf, uint32_t buflen);
extern void nativeNfcTag_doConnectStatus (jboolean is_connect_ok);
extern void nativeNfcTag_doDeactivateStatus (int status);
extern void nativeNfcTag_doWriteStatus (jboolean is_write_ok);
@@ -344,7 +344,7 @@ static void nfaConnectionCallback (UINT8 connEvent, tNFA_CONN_EVT_DATA* eventDat
case NFA_DATA_EVT: // Data message received (for non-NDEF reads)
ALOGD("%s: NFA_DATA_EVT: len = %d", __FUNCTION__, eventData->data.len);
- nativeNfcTag_doTranseiveStatus(eventData->data.p_data,eventData->data.len);
+ nativeNfcTag_doTransceiveStatus(eventData->data.p_data,eventData->data.len);
break;
case NFA_SELECT_CPLT_EVT: // Select completed
diff --git a/nci/jni/NativeNfcTag.cpp b/nci/jni/NativeNfcTag.cpp
index f4b345d..b4b517b 100755
--- a/nci/jni/NativeNfcTag.cpp
+++ b/nci/jni/NativeNfcTag.cpp
@@ -726,7 +726,7 @@ TheEnd:
/*******************************************************************************
**
-** Function: nativeNfcTag_doTranseiveStatus
+** Function: nativeNfcTag_doTransceiveStatus
**
** Description: Receive the completion status of transceive operation.
** buf: Contains tag's response.
@@ -735,7 +735,7 @@ TheEnd:
** Returns: None
**
*******************************************************************************/
-void nativeNfcTag_doTranseiveStatus (uint8_t* buf, uint32_t bufLen)
+void nativeNfcTag_doTransceiveStatus (uint8_t* buf, uint32_t bufLen)
{
ALOGD ("%s: data len=%d, waiting for transceive: %d", __FUNCTION__, bufLen, sWaitingForTransceive);
if (!sWaitingForTransceive)