mirror of
https://github.com/espressif/esp-idf
synced 2025-03-09 09:09:10 -04:00
Merge branch 'bugfix/ble_mesh_host_init' into 'master'
ble_mesh: nimble: return error if init host twice See merge request espressif/esp-idf!13065
This commit is contained in:
commit
417ef24b06
@ -88,7 +88,7 @@ int bt_mesh_host_init(void)
|
||||
int rc;
|
||||
|
||||
if (init == true) {
|
||||
return 0;
|
||||
return -EALREADY;
|
||||
}
|
||||
|
||||
rc = btc_init();
|
||||
|
Loading…
x
Reference in New Issue
Block a user