mesh: fix regression from 9115a3f5

This commit is contained in:
Matthias Ringwald 2019-06-25 12:12:34 +02:00
parent d3f5f493d1
commit 1380be7766

View File

@ -107,6 +107,7 @@ static void mesh_proxy_node_id_handle_get_aes128(void * arg){
memcpy(connectable_advertisement_with_node_id.adv_data, adv_data_with_node_identity_template, 12);
memcpy(&connectable_advertisement_with_node_id.adv_data[12], &mesh_proxy_node_id_hash[8], 8);
memcpy(&connectable_advertisement_with_node_id.adv_data[20], mesh_proxy_node_id_random_value, 8);
connectable_advertisement_with_node_id.adv_length = 28;
// setup advertisements
adv_bearer_advertisements_add_item(&connectable_advertisement_with_node_id);