aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth/hci_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/bluetooth/hci_core.c')
-rw-r--r--net/bluetooth/hci_core.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c
index bb089e3bccef..884eb85a136a 100644
--- a/net/bluetooth/hci_core.c
+++ b/net/bluetooth/hci_core.c
@@ -199,6 +199,8 @@ static void bredr_init(struct hci_dev *hdev)
199 __le16 param; 199 __le16 param;
200 __u8 flt_type; 200 __u8 flt_type;
201 201
202 hdev->flow_ctl_mode = HCI_FLOW_CTL_MODE_PACKET_BASED;
203
202 /* Mandatory initialization */ 204 /* Mandatory initialization */
203 205
204 /* Reset */ 206 /* Reset */
@@ -245,6 +247,8 @@ static void bredr_init(struct hci_dev *hdev)
245 247
246static void amp_init(struct hci_dev *hdev) 248static void amp_init(struct hci_dev *hdev)
247{ 249{
250 hdev->flow_ctl_mode = HCI_FLOW_CTL_MODE_BLOCK_BASED;
251
248 /* Reset */ 252 /* Reset */
249 hci_send_cmd(hdev, HCI_OP_RESET, 0, NULL); 253 hci_send_cmd(hdev, HCI_OP_RESET, 0, NULL);
250 254