Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
François Revol
firmware
Commits
5d9cb5ec
Commit
5d9cb5ec
authored
Jan 24, 2020
by
schneider
Browse files
fix(ble): card10 hack not needed anymore
parent
4944aa48
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/sdk/Libraries/BTLE/link_layer/controller/sources/ble/lctr/lctr_sm_conn_slave.c
View file @
5d9cb5ec
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment