From 144d72d32ae420d5f4b25897a43210f56e287637 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() (DO NOT MERGE). This allows us to see more context of HCI timeout crashes. Bug: 6114991 Change-Id: Icfda5d4e15e3ceb471ab24f5cb42001c95e9d034 --- Linux_x86/phOsalNfc.c | 6 ++---- 1 file 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"); } } -- cgit v1.1