Skip to content
Snippets Groups Projects
Commit 5d9cb5ec authored by schneider's avatar schneider
Browse files

fix(ble): card10 hack not needed anymore

parent 4944aa48
No related branches found
No related tags found
1 merge request!397Update SDK to 0.2.1-12
......@@ -217,15 +217,6 @@ void lctrConnStatelessEventHandler(lctrConnCtx_t *pCtx, uint8_t event)
{
case LCTR_CONN_TERMINATED:
LL_TRACE_INFO2("lctrConnStatelessEventHandler: handle=%u, state=%u, event=TERMINATED", LCTR_GET_CONN_HANDLE(pCtx), pCtx->state);
/* card10 HACK:
* After an encrypted connection is closed, the stack does not instruct the radio to turn off encryption again.
* There is no direct interface to this either. lctrCalcSessionKey() does transfer the flag though. */
lctrDisableTxDataEnc(pCtx);
lctrDisableRxDataEnc(pCtx);
lctrCalcSessionKey(pCtx);
/*END card10 HACK */
lctrNotifyHostDisconnectInd(pCtx);
lctrFreeConnCtx(pCtx);
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment