From c8be5f27a7f814c7ddc092253c27a04eaef92f22 Mon Sep 17 00:00:00 2001 From: Christophe Ricard Date: Fri, 17 Mar 2017 03:11:24 -0700 Subject: [PATCH] Update destination information for the static hci connection Once HCI static connection is created in the NfcCx update with the handle. --- nfc/libs/NfcCoreLib/lib/LibNfc/phLibNfc_Init.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nfc/libs/NfcCoreLib/lib/LibNfc/phLibNfc_Init.c b/nfc/libs/NfcCoreLib/lib/LibNfc/phLibNfc_Init.c index 053bc43..93b2d82 100644 --- a/nfc/libs/NfcCoreLib/lib/LibNfc/phLibNfc_Init.c +++ b/nfc/libs/NfcCoreLib/lib/LibNfc/phLibNfc_Init.c @@ -129,6 +129,10 @@ static NFCSTATUS phLibNfc_InitCb(void* pContext,NFCSTATUS wStatus,void* pInfo) { wStatus = NFCSTATUS_FAILED; } + else + { + wStatus = phNciNfc_UpdateConnDestInfo(UNASSIGNED_DESTID, phNciNfc_e_NFCEE, pHciContext->pSeHandle); + } } } }else