diff options
Diffstat (limited to 'src/phHal4Nfc.c')
-rwxr-xr-x | src/phHal4Nfc.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/phHal4Nfc.c b/src/phHal4Nfc.c index 3be1589..f40ed9b 100755 --- a/src/phHal4Nfc.c +++ b/src/phHal4Nfc.c @@ -357,8 +357,6 @@ NFCSTATUS phHal4Nfc_Open( NFCSTATUS openRetVal = NFCSTATUS_SUCCESS; phHal4Nfc_Hal4Ctxt_t *Hal4Ctxt = NULL; phHciNfc_Init_t eHciInitType = (phHciNfc_Init_t)InitType; - int rc; - /*Set Default Clock settings once*/ static phHal_sHwConfig_t sHwConfig = { {0}, @@ -379,13 +377,7 @@ NFCSTATUS phHal4Nfc_Open( else/*Do an initialization*/ { #ifdef ANDROID - rc = dlopen_firmware(); - if(rc < 0) - { - openRetVal = NFCSTATUS_FAILED; - pOpenCallback(pContext, openRetVal); - return openRetVal; - } + dlopen_firmware(); #endif /*If hal4 ctxt in Hwreference is NULL create a new context*/ |