Bluetooth: Use bt_hci_cmd_send_sync for host buffer size
Follow the same conventions as for all other HCI commands that are part of the init sequence. Change-Id: Ia88b66044d903be103b9ce9fdc2a026a38ac551a Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
parent
e16bb2282e
commit
6d60cee320
1 changed files with 1 additions and 1 deletions
|
@ -740,7 +740,7 @@ static int set_flow_control(void)
|
||||||
bt_dev.drv->recv_reserve);
|
bt_dev.drv->recv_reserve);
|
||||||
hbs->acl_pkts = sys_cpu_to_le16(CONFIG_BLUETOOTH_ACL_IN_COUNT);
|
hbs->acl_pkts = sys_cpu_to_le16(CONFIG_BLUETOOTH_ACL_IN_COUNT);
|
||||||
|
|
||||||
err = bt_hci_cmd_send(BT_HCI_OP_HOST_BUFFER_SIZE, buf);
|
err = bt_hci_cmd_send_sync(BT_HCI_OP_HOST_BUFFER_SIZE, buf, NULL);
|
||||||
if (err) {
|
if (err) {
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue