mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
ble_mesh: Clear two more vars during proxy server deinit
This commit is contained in:
parent
e55c65562c
commit
1b1aea24f0
@ -1429,6 +1429,7 @@ int bt_mesh_proxy_deinit(void)
|
||||
|
||||
#if defined(CONFIG_BLE_MESH_GATT_PROXY_SERVER)
|
||||
bt_mesh_gatts_service_deregister(&proxy_svc);
|
||||
next_idx = 0;
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_BLE_MESH_PB_GATT)
|
||||
@ -1445,6 +1446,7 @@ int bt_mesh_proxy_deinit(void)
|
||||
memset(device_name, 0, sizeof(device_name));
|
||||
|
||||
bt_mesh_gatts_conn_cb_deregister();
|
||||
conn_count = 0;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user