summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartijn Coenen <maco@google.com>2012-06-08 17:24:36 -0700
committerMartijn Coenen <maco@google.com>2012-06-12 12:18:34 -0700
commit144d72d32ae420d5f4b25897a43210f56e287637 (patch)
tree0e6ced767bf7fd0b582a76d44694ad7946f83c30
parentba0407599b6271f47a4e6e6d539522ae5b207287 (diff)
downloadexternal_libnfc-nxp-144d72d32ae420d5f4b25897a43210f56e287637.zip
external_libnfc-nxp-144d72d32ae420d5f4b25897a43210f56e287637.tar.gz
external_libnfc-nxp-144d72d32ae420d5f4b25897a43210f56e287637.tar.bz2
Remove some logs in case of abort() (DO NOT MERGE).
This allows us to see more context of HCI timeout crashes. Bug: 6114991 Change-Id: Icfda5d4e15e3ceb471ab24f5cb42001c95e9d034
-rw-r--r--Linux_x86/phOsalNfc.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/Linux_x86/phOsalNfc.c b/Linux_x86/phOsalNfc.c
index 83b4e6e..a158415 100644
--- a/Linux_x86/phOsalNfc.c
+++ b/Linux_x86/phOsalNfc.c
@@ -142,14 +142,12 @@ void phOsalNfc_DbgTrace(uint8_t data[], uint32_t size)
*/
void phOsalNfc_RaiseException(phOsalNfc_ExceptionType_t eExceptionType, uint16_t reason)
{
- ALOGD("phOsalNfc_RaiseException() called");
-
if(eExceptionType == phOsalNfc_e_UnrecovFirmwareErr)
{
- ALOGE("HCI Timeout - Exception raised");
phLibNfc_Mgt_Recovery();
- ALOGE("Force restart of NFC Service");
abort();
+ } else {
+ ALOGD("phOsalNfc_RaiseException() called");
}
}