Commit 3497ac84bd35bc5b984a3a20625021bfb0ca3f37

Authored by Marcel Holtmann
Committed by Johan Hedberg
1 parent cfbb2b5b91

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
... ... @@ -315,7 +315,6 @@
315 315 __u8 attempt;
316 316 __u8 dev_class[3];
317 317 __u8 features[HCI_MAX_PAGES][8];
318   - __u16 interval;
319 318 __u16 pkt_type;
320 319 __u16 link_policy;
321 320 __u32 link_mode;
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)) {