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 137f704064
Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
This commit is contained in:
parent
8629f0a450
commit
bdc535dba3
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue