No changes

Fork of nRF51822 by Nordic Semiconductor

Revision:
154:9d51b9dfc72e
Parent:
152:0e74b7590ab2
Child:
158:ad708a3d7ad7
--- a/btle/btle_security.cpp	Fri May 08 15:33:58 2015 +0100
+++ b/btle/btle_security.cpp	Fri May 08 15:33:58 2015 +0100
@@ -155,7 +155,8 @@
             break;
         }
         case DM_EVT_SECURITY_SETUP_COMPLETE:
-            nRF51Gap::getInstance().processSecuritySetupCompletedEvent(p_event->event_param.p_gap_param->conn_handle);
+            nRF51Gap::getInstance().processSecurityProcedureCompletedEvent(p_event->event_param.p_gap_param->conn_handle,
+                                                                           (Gap::SecurityCompletionStatus_t)(p_event->event_param.p_gap_param->params.auth_status.auth_status));
             break;
         case DM_EVT_LINK_SECURED:
             nRF51Gap::getInstance().processLinkSecuredEvent(p_event->event_param.p_gap_param->conn_handle);