Merge branch 'bugfix/BLEQABR23-632' into 'master'

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

Closes BLERP-104

See merge request espressif/esp-idf!26236
This commit is contained in:
Jiang Jiang Jian 2023-10-07 13:59:48 +08:00
commit e445213cf8

View File

@ -87,7 +87,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();