KKopyscinski commented on a change in pull request #1025:
URL: https://github.com/apache/mynewt-nimble/pull/1025#discussion_r743405845



##########
File path: nimble/host/src/ble_sm.c
##########
@@ -2049,6 +2049,7 @@ ble_sm_key_exch_success(struct ble_sm_proc *proc, struct 
ble_sm_result *res)
 
     res->app_status = 0;
     res->enc_cb = 1;
+    ble_gap_pairing_complete_event(proc->conn_handle, res->app_status);

Review comment:
       Yes, it's the solution I was searching for - now `ble_sm_process_result` 
only needs to be called here




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to