ble_mesh: nimble: return error if init host twice

pull/6613/merge
lly 2021-04-08 17:29:12 +08:00 zatwierdzone przez bot
rodzic 44b2b7c22c
commit a1535faad5
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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