diff --git a/subsys/bluetooth/host/hci_core.c b/subsys/bluetooth/host/hci_core.c index 1cdaa386e70..37986c490ef 100644 --- a/subsys/bluetooth/host/hci_core.c +++ b/subsys/bluetooth/host/hci_core.c @@ -914,6 +914,7 @@ int bt_le_create_conn(const struct bt_conn *conn) } cp = net_buf_add(buf, sizeof(*cp)); + memset(cp, 0, sizeof(*cp)); cp->own_addr_type = own_addr_type; if (use_filter) {