aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/hci_h5.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/bluetooth/hci_h5.c')
-rw-r--r--drivers/bluetooth/hci_h5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bluetooth/hci_h5.c b/drivers/bluetooth/hci_h5.c
index db039f2ce655..fc1a499bca95 100644
--- a/drivers/bluetooth/hci_h5.c
+++ b/drivers/bluetooth/hci_h5.c
@@ -317,7 +317,7 @@ static void h5_handle_internal_rx(struct hci_uart *hu)
317 h5_link_control(hu, conf_req, 3); 317 h5_link_control(hu, conf_req, 3);
318 } else if (memcmp(data, conf_rsp, 2) == 0) { 318 } else if (memcmp(data, conf_rsp, 2) == 0) {
319 if (H5_HDR_LEN(hdr) > 2) 319 if (H5_HDR_LEN(hdr) > 2)
320 h5->tx_win = (data[2] & 7); 320 h5->tx_win = (data[2] & 0x07);
321 BT_DBG("Three-wire init complete. tx_win %u", h5->tx_win); 321 BT_DBG("Three-wire init complete. tx_win %u", h5->tx_win);
322 h5->state = H5_ACTIVE; 322 h5->state = H5_ACTIVE;
323 hci_uart_init_ready(hu); 323 hci_uart_init_ready(hu);