diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2014-08-03 21:18:41 +0200 |
---|---|---|
committer | Paul Kocialkowski <contact@paulk.fr> | 2014-08-03 21:18:41 +0200 |
commit | 312265fa1a4dc34a7ac29f72303f6ce4cd5220a5 (patch) | |
tree | b0e0336a05e55ee41b3a1b5c4a3588569f4eefb9 | |
parent | 779bf1afd19f5b784c5c1c47d50fdd56b1f5ebfd (diff) | |
download | packages_apps_nfc-312265fa1a4dc34a7ac29f72303f6ce4cd5220a5.zip packages_apps_nfc-312265fa1a4dc34a7ac29f72303f6ce4cd5220a5.tar.gz packages_apps_nfc-312265fa1a4dc34a7ac29f72303f6ce4cd5220a5.tar.bz2 |
Power off only when initialization failedHEADreplicant-4.2-0004replicant-4.2-0003replicant-4.2
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
-rwxr-xr-x | nxp/jni/com_android_nfc_NativeNfcManager.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nxp/jni/com_android_nfc_NativeNfcManager.cpp b/nxp/jni/com_android_nfc_NativeNfcManager.cpp index 02086da..f914854 100755 --- a/nxp/jni/com_android_nfc_NativeNfcManager.cpp +++ b/nxp/jni/com_android_nfc_NativeNfcManager.cpp @@ -629,9 +629,10 @@ clean_and_return: kill_client(nat); } + + phDal4Nfc_Reset(0); } if (pn544_dev != NULL) { - phDal4Nfc_Reset(0); nfc_pn544_close(pn544_dev); } nfc_cb_data_deinit(&cb_data); |