diff options
Diffstat (limited to 'Linux_x86/phOsalNfc.c')
-rw-r--r-- | Linux_x86/phOsalNfc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Linux_x86/phOsalNfc.c b/Linux_x86/phOsalNfc.c index 3f4542d..83b4e6e 100644 --- a/Linux_x86/phOsalNfc.c +++ b/Linux_x86/phOsalNfc.c @@ -47,6 +47,8 @@ phOsalNfc_Exception_t phOsalNfc_Exception; char phOsalNfc_DbgTraceBuffer[MAX_PRINT_BUFSIZE]; #endif +void phLibNfc_Mgt_Recovery(); + /*! * \brief Allocates memory. * This function attempts to allocate \a size bytes on the heap and @@ -145,6 +147,7 @@ void phOsalNfc_RaiseException(phOsalNfc_ExceptionType_t eExceptionType, uint16_t if(eExceptionType == phOsalNfc_e_UnrecovFirmwareErr) { ALOGE("HCI Timeout - Exception raised"); + phLibNfc_Mgt_Recovery(); ALOGE("Force restart of NFC Service"); abort(); } |