Merge branch 'bugfix/BLEQABR23-632v50' into 'release/v5.0'

fix(ble_mesh): avoid executing bt_mesh_host_init() more than once when using nimble (v5.0)

See merge request espressif/esp-idf!26242
This commit is contained in:
Jiang Jiang Jian 2023-10-07 14:29:17 +08:00
commit 32dcb1abd9

View File

@ -88,7 +88,8 @@ int bt_mesh_host_init(void)
int rc;
if (init == true) {
return -EALREADY;
BT_WARN("Already initialized host for mesh!");
return 0;
}
rc = btc_init();