mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/ble_mesh_host_init_v3.3' into 'release/v3.3'
ble_mesh: nimble: return error if init host twice (v3.3) See merge request espressif/esp-idf!15791
This commit is contained in:
commit
77619bafca
@ -88,7 +88,7 @@ int bt_mesh_host_init(void)
|
|||||||
int rc;
|
int rc;
|
||||||
|
|
||||||
if (init == true) {
|
if (init == true) {
|
||||||
return 0;
|
return -EALREADY;
|
||||||
}
|
}
|
||||||
|
|
||||||
rc = btc_init();
|
rc = btc_init();
|
||||||
|
Loading…
Reference in New Issue
Block a user