From 6141c4b7a438cacda2a54aa20c83700cd6f314a7 Mon Sep 17 00:00:00 2001 From: Martijn Coenen Date: Fri, 8 Jun 2012 17:24:36 -0700 Subject: Remove some logs in case of abort(). This allows us to see more context of HCI timeout crashes. Change-Id: I5cf1f829f3d0db5afd8d2c753fba7c3f8ad70365 --- Linux_x86/phOsalNfc.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Linux_x86/phOsalNfc.c b/Linux_x86/phOsalNfc.c index 83b4e6e..e906b0d 100644 --- a/Linux_x86/phOsalNfc.c +++ b/Linux_x86/phOsalNfc.c @@ -142,14 +142,13 @@ 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"); + ALOGE("HCI Timeout - Exception raised - Force restart of NFC service"); phLibNfc_Mgt_Recovery(); - ALOGE("Force restart of NFC Service"); abort(); + } else { + ALOGD("phOsalNfc_RaiseException() called"); } } -- cgit v1.1