Skip to content

Commit 7f33c80

Browse files
joerchanmbolivar-nordic
authored andcommitted
[nrf fromlist] Bluetooth: host: Fix out of range parameters [...]
provided to the controller Fix LE Create Connection command giving out of range parameters to the controller, this came back as 0x30 (Out of Range Parameters) status code on the command from the controller. This appears to be the min and max CE parameters in the command. Revert back memset from 137f704 Submitted upstream as: zephyrproject-rtos/zephyr#22374 Signed-off-by: Joakim Andersson <[email protected]> (cherry picked from commit 0cf9c61)
1 parent 4f02065 commit 7f33c80

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

subsys/bluetooth/host/hci_core.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -914,6 +914,7 @@ int bt_le_create_conn(const struct bt_conn *conn)
914914
}
915915

916916
cp = net_buf_add(buf, sizeof(*cp));
917+
memset(cp, 0, sizeof(*cp));
917918
cp->own_addr_type = own_addr_type;
918919

919920
if (use_filter) {

0 commit comments

Comments
 (0)