mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/BLEQABR23-632v43' into 'release/v4.3'
fix(ble_mesh): avoid executing bt_mesh_host_init() more than once when using nimble (v4.3) See merge request espressif/esp-idf!26244
This commit is contained in:
commit
623c826a93
@ -88,7 +88,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();
|
||||
|
Loading…
Reference in New Issue
Block a user