Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
card10
firmware
Commits
5d9cb5ec
Commit
5d9cb5ec
authored
5 years ago
by
schneider
Browse files
Options
Downloads
Patches
Plain Diff
fix(ble): card10 hack not needed anymore
parent
4944aa48
No related branches found
Branches containing commit
No related tags found
1 merge request
!397
Update SDK to 0.2.1-12
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/sdk/Libraries/BTLE/link_layer/controller/sources/ble/lctr/lctr_sm_conn_slave.c
+0
-9
0 additions, 9 deletions
...nk_layer/controller/sources/ble/lctr/lctr_sm_conn_slave.c
with
0 additions
and
9 deletions
lib/sdk/Libraries/BTLE/link_layer/controller/sources/ble/lctr/lctr_sm_conn_slave.c
+
0
−
9
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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment