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:
Johan Hedberg 2015-11-02 16:12:59 +02:00 committed by Anas Nashif
commit 6d60cee320

View file

@ -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;
} }