Commit 9d5c36da authored by Tobias Scharnowski's avatar Tobias Scharnowski Committed by Anas Nashif
Browse files

Bluetooth: hci: Fix incomplete acl mtu setup

This change is supposed to fix the issue of incomplete acl mtu
initialization in the absence of BREDR. Find further information here:
https://github.com/zephyrproject-rtos/zephyr/issues/39549



Signed-off-by: default avatarTobias Scharnowski <tobias.scharnowski@rub.de>
parent 9a9ccfec
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -3291,6 +3291,12 @@ static int hci_init(void)
		BT_ERR("Non-BR/EDR controller detected");
		return -EIO;
	}
#if defined(CONFIG_BT_CONN)
	else if (!bt_dev.le.acl_mtu) {
		BT_ERR("ACL BR/EDR buffers not initialized");
		return -EIO;
	}
#endif

	err = set_event_mask();
	if (err) {