Merge branch 'bugfix/fix_trans_optional_info_using_group_addr_v5.0' into 'release/v5.0'

ble_mesh: stack: Fix can't trans optional info to group address(v5.0)

See merge request espressif/esp-idf!20958
pull/10970/head
Jiang Jiang Jian 2022-12-02 20:29:35 +08:00
commit ef1f1a8adb
1 zmienionych plików z 0 dodań i 8 usunięć

Wyświetl plik

@ -129,14 +129,6 @@ int bt_mesh_server_get_optional(struct bt_mesh_model *model,
return -EINVAL;
}
/* Currently we only get optional msg info which dst is set to a unicast address */
if (!BLE_MESH_ADDR_IS_UNICAST(ctx->recv_dst)) {
*trans_time = 0U;
*delay = 0U;
*optional = false;
return 0;
}
/* No optional fields are available */
if (buf->len == 0x00) {
if (model->id == BLE_MESH_MODEL_ID_LIGHT_LC_SRV) {