You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2018/04/12 14:07:14 UTC

[GitHub] sjanc closed pull request #42: nimble/ll: Fix LE Ping with devices that don't support it

sjanc closed pull request #42: nimble/ll: Fix LE Ping with devices that don't support it
URL: https://github.com/apache/mynewt-nimble/pull/42
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/nimble/controller/src/ble_ll_ctrl.c b/nimble/controller/src/ble_ll_ctrl.c
index 2055dc0a..5a71d8e3 100644
--- a/nimble/controller/src/ble_ll_ctrl.c
+++ b/nimble/controller/src/ble_ll_ctrl.c
@@ -387,10 +387,9 @@ ble_ll_ctrl_proc_unk_rsp(struct ble_ll_conn_sm *connsm, uint8_t *dptr)
         ctrl_proc = BLE_LL_CTRL_PROC_CONN_PARAM_REQ;
         break;
     case BLE_LL_CTRL_PING_REQ:
-        CONN_F_LE_PING_SUPP(connsm) = 0;
-#if (MYNEWT_VAL(BLE_LL_CFG_FEAT_LE_PING) == 1)
-        os_callout_stop(&connsm->auth_pyld_timer);
-#endif
+        /* LL can authenticate remote device even if remote device does not
+         * support LE Ping feature.
+         */
         ctrl_proc = BLE_LL_CTRL_PROC_LE_PING;
         break;
 #if (BLE_LL_BT5_PHY_SUPPORTED ==1)


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services