You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ry...@apache.org on 2019/01/29 18:12:37 UTC
[mynewt-nimble] branch master updated: nimble/ll: Fix setting
pending_ctrl_procs
This is an automated email from the ASF dual-hosted git repository.
rymek pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git
The following commit(s) were added to refs/heads/master by this push:
new 164a790 nimble/ll: Fix setting pending_ctrl_procs
164a790 is described below
commit 164a7906e0d3921d5b1bfe7c6e79b2231dbf7720
Author: Ćukasz Rymanowski <lu...@codecoup.pl>
AuthorDate: Tue Jan 29 17:39:39 2019 +0100
nimble/ll: Fix setting pending_ctrl_procs
---
nimble/controller/src/ble_ll_conn_hci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nimble/controller/src/ble_ll_conn_hci.c b/nimble/controller/src/ble_ll_conn_hci.c
index 7402895..3e6f03a 100644
--- a/nimble/controller/src/ble_ll_conn_hci.c
+++ b/nimble/controller/src/ble_ll_conn_hci.c
@@ -1608,7 +1608,7 @@ ble_ll_conn_hci_le_set_phy(uint8_t *cmdbuf)
* pending bit but do not start the control procedure.
*/
if (CONN_F_PEER_PHY_UPDATE(connsm)) {
- connsm->pending_ctrl_procs |= BLE_LL_CTRL_PROC_PHY_UPDATE;
+ connsm->pending_ctrl_procs |= (1 << BLE_LL_CTRL_PROC_PHY_UPDATE);
CONN_F_HOST_PHY_UPDATE(connsm) = 1;
} else {
/* Check if we should start phy update procedure */