Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of nRF51822 by
Revision 141:586e146a3903, committed 2015-05-08
- Comitter:
- rgrover1
- Date:
- Fri May 08 15:33:56 2015 +0100
- Parent:
- 140:3a5282e3f30c
- Child:
- 142:b6fe43a5c18f
- Commit message:
- Synchronized with git rev d99e272f
Author: Rohit Grover
minor re-ordering of variables.
Changed in this revision
| btle/btle_security.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/btle/btle_security.cpp Fri May 08 15:33:56 2015 +0100
+++ b/btle/btle_security.cpp Fri May 08 15:33:56 2015 +0100
@@ -91,8 +91,8 @@
ble_error_t
btle_getLinkSecurity(Gap::Handle_t connectionHandle, Gap::LinkSecurityStatus_t *securityStatusP)
{
+ ret_code_t rc;
dm_handle_t dmHandle;
- ret_code_t rc;
if ((rc = dm_handle_get(connectionHandle, &dmHandle)) != NRF_SUCCESS) {
if (rc == NRF_ERROR_NOT_FOUND) {
return BLE_ERROR_INVALID_PARAM;
