mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
bugfix(ble_mesh): Avoid provisioner handling messages from nodes that have already left the network.
This commit is contained in:
parent
4fe7b96e76
commit
f5777749dc
@ -1751,9 +1751,7 @@ static bool ignore_net_msg(uint16_t src, uint16_t dst)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (IS_ENABLED(CONFIG_BLE_MESH_PROVISIONER) &&
|
if (IS_ENABLED(CONFIG_BLE_MESH_PROVISIONER) &&
|
||||||
bt_mesh_is_provisioner_en() &&
|
bt_mesh_is_provisioner_en()) {
|
||||||
BLE_MESH_ADDR_IS_UNICAST(dst) &&
|
|
||||||
bt_mesh_elem_find(dst)) {
|
|
||||||
/* If the destination address of the message is the element
|
/* If the destination address of the message is the element
|
||||||
* address of Provisioner, but Provisioner fails to find the
|
* address of Provisioner, but Provisioner fails to find the
|
||||||
* node in its provisioning database, then this message will
|
* node in its provisioning database, then this message will
|
||||||
|
Loading…
Reference in New Issue
Block a user