Commit 3497ac84bd35bc5b984a3a20625021bfb0ca3f37
Committed by
Johan Hedberg
1 parent
cfbb2b5b91
Exists in
smarc-imx_3.14.28_1.0.0_ga
and in
1 other branch
Bluetooth: Remove interval parameter from HCI connection
The conn->interval parameter of HCI connections is not used at all and so just remove it. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Showing 2 changed files with 0 additions and 2 deletions Side-by-side Diff
include/net/bluetooth/hci_core.h
net/bluetooth/hci_event.c
... | ... | @@ -2549,7 +2549,6 @@ |
2549 | 2549 | conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle)); |
2550 | 2550 | if (conn) { |
2551 | 2551 | conn->mode = ev->mode; |
2552 | - conn->interval = __le16_to_cpu(ev->interval); | |
2553 | 2552 | |
2554 | 2553 | if (!test_and_clear_bit(HCI_CONN_MODE_CHANGE_PEND, |
2555 | 2554 | &conn->flags)) { |