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:
Jonathan Rico 2023-02-08 08:04:01 +01:00 committed by Carles Cufí
parent dcbc56cfe7
commit 5222691b7f

View file

@ -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);
}