mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-10-12 17:07:22 +00:00
host/mesh: Update SNB beacon before sending it
Authentication value must be recalculated before sending it. This is port of 5513b86864e3ccd3de710724308e46abbcaa44af
This commit is contained in:
committed by
Krzysztof Kopyściński
parent
c3a4b94f6f
commit
4b0e349592
@@ -314,13 +314,13 @@ do_update:
|
||||
bt_mesh_friend_sec_update(BT_MESH_KEY_ANY);
|
||||
}
|
||||
|
||||
bt_mesh_subnet_foreach(bt_mesh_beacon_update);
|
||||
|
||||
if (IS_ENABLED(CONFIG_BT_MESH_GATT_PROXY) &&
|
||||
bt_mesh_gatt_proxy_get() == BT_MESH_GATT_PROXY_ENABLED) {
|
||||
bt_mesh_proxy_beacon_send(NULL);
|
||||
}
|
||||
|
||||
bt_mesh_subnet_foreach(bt_mesh_beacon_update);
|
||||
|
||||
if (MYNEWT_VAL(BLE_MESH_CDB)) {
|
||||
bt_mesh_cdb_iv_update(iv_index, iv_update);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user