summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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");
}
}