mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-31 19:24:33 +02:00
ble_mesh: Free beacon timer when deinit mesh
This commit is contained in:
@@ -424,9 +424,7 @@ int bt_mesh_deinit(struct bt_mesh_deinit_param *param)
|
|||||||
bt_mesh_trans_deinit(param->erase);
|
bt_mesh_trans_deinit(param->erase);
|
||||||
bt_mesh_net_deinit(param->erase);
|
bt_mesh_net_deinit(param->erase);
|
||||||
|
|
||||||
if (IS_ENABLED(CONFIG_BLE_MESH_NODE)) {
|
bt_mesh_beacon_deinit();
|
||||||
bt_mesh_beacon_deinit();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (IS_ENABLED(CONFIG_BLE_MESH_PROXY)) {
|
if (IS_ENABLED(CONFIG_BLE_MESH_PROXY)) {
|
||||||
if (IS_ENABLED(CONFIG_BLE_MESH_NODE)) {
|
if (IS_ENABLED(CONFIG_BLE_MESH_NODE)) {
|
||||||
|
Reference in New Issue
Block a user