Merge branch 'bugfix/ble_mesh_host_init_v4.3' into 'release/v4.3'

ble_mesh: nimble: return error if init host twice (v4.3)

See merge request espressif/esp-idf!15788
This commit is contained in:
Jiang Jiang Jian
2021-11-23 06:30:28 +00:00

View File

@ -88,7 +88,7 @@ int bt_mesh_host_init(void)
int rc;
if (init == true) {
return 0;
return -EALREADY;
}
rc = btc_init();