You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ja...@apache.org on 2019/11/22 06:46:44 UTC
[mynewt-nimble] branch master updated: nimble/ll: Fix verifying
incomplete data when enabling periodic adv
This is an automated email from the ASF dual-hosted git repository.
janc 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 5e0d67d nimble/ll: Fix verifying incomplete data when enabling periodic adv
5e0d67d is described below
commit 5e0d67d672e9a870ae4f89b63b4459e08f9a35e7
Author: Szymon Janc <sz...@codecoup.pl>
AuthorDate: Thu Nov 21 23:12:36 2019 +0100
nimble/ll: Fix verifying incomplete data when enabling periodic adv
Properties were checked instead of flags. This was affecting
HCI/DDI/BI-13-C qualification test case,
---
nimble/controller/src/ble_ll_adv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nimble/controller/src/ble_ll_adv.c b/nimble/controller/src/ble_ll_adv.c
index 45b8100..cc042f7 100644
--- a/nimble/controller/src/ble_ll_adv.c
+++ b/nimble/controller/src/ble_ll_adv.c
@@ -3758,7 +3758,7 @@ ble_ll_adv_periodic_enable(const uint8_t *cmdbuf, uint8_t len)
}
if (cmd->enable) {
- if (advsm->props & BLE_LL_ADV_SM_FLAG_PERIODIC_DATA_INCOMPLETE) {
+ if (advsm->flags & BLE_LL_ADV_SM_FLAG_PERIODIC_DATA_INCOMPLETE) {
return BLE_ERR_CMD_DISALLOWED;
}