summaryrefslogtreecommitdiffstats
path: root/Linux_x86/phOsalNfc.c
diff options
context:
space:
mode:
Diffstat (limited to 'Linux_x86/phOsalNfc.c')
-rw-r--r--Linux_x86/phOsalNfc.c7
1 files 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");
}
}