Skip to content

Commit

Permalink
Merge branch 'bugfix/ble_mesh_host_init' into 'master'
Browse files Browse the repository at this point in the history
ble_mesh: nimble: return error if init host twice

See merge request espressif/esp-idf!13065
  • Loading branch information
Isl2017 committed Nov 3, 2021
2 parents e595fb4 + a1535fa commit 417ef24
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ int bt_mesh_host_init(void)
int rc;

if (init == true) {
return 0;
return -EALREADY;
}

rc = btc_init();
Expand Down

0 comments on commit 417ef24

Please sign in to comment.