summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/bluetooth/hci_event.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/bluetooth/hci_event.c b/net/bluetooth/hci_event.c
index 7b699e235cdd..de15177cce18 100644
--- a/net/bluetooth/hci_event.c
+++ b/net/bluetooth/hci_event.c
@@ -1765,11 +1765,11 @@ static void hci_le_data_length_changed_complete_evt(struct hci_dev *hdev,
conn->tx_time = le16_to_cpu(ev->tx_time);
conn->rx_len = le16_to_cpu(ev->rx_len);
conn->rx_time = le16_to_cpu(ev->rx_time);
- }
- mgmt_le_data_length_change_complete(hdev, &conn->dst,
+ mgmt_le_data_length_change_complete(hdev, &conn->dst,
conn->tx_len, conn->tx_time,
conn->rx_len, conn->rx_time);
+ }
hci_dev_unlock(hdev);
}