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,
@@ -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;
}
