Samples: Bluetooth: ignore -EALREADY when opening ipc instance
This instance might be shared by other users that may have opened it earlier in the boot chain. Signed-off-by: Jonathan Rico <jonathan.rico@nordicsemi.no>
This commit is contained in:
parent
dcbc56cfe7
commit
5222691b7f
|
@ -377,7 +377,7 @@ void main(void)
|
|||
|
||||
/* Initialize IPC service instance and register endpoint. */
|
||||
err = ipc_service_open_instance(hci_ipc_instance);
|
||||
if (err) {
|
||||
if (err < 0 && err != -EALREADY) {
|
||||
LOG_ERR("IPC service instance initialization failed: %d\n", err);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue