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

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

See merge request espressif/esp-idf!15790
This commit is contained in:
Island 2021-11-05 03:12:34 +00:00
commit 25ce06d32e

View File

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