aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth/hci_event.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2013-10-19 08:26:57 -0400
committerJohan Hedberg <johan.hedberg@intel.com>2013-10-19 09:50:05 -0400
commit3497ac84bd35bc5b984a3a20625021bfb0ca3f37 (patch)
tree3b37056088baa85c2c7797a3c97a8143da69b601 /net/bluetooth/hci_event.c
parentcfbb2b5b91e2f89cbd3a2f90bf807192a227355d (diff)
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>
Diffstat (limited to 'net/bluetooth/hci_event.c')
-rw-r--r--net/bluetooth/hci_event.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/bluetooth/hci_event.c b/net/bluetooth/hci_event.c
index 848045223e98..1214d4b6f541 100644
--- a/net/bluetooth/hci_event.c
+++ b/net/bluetooth/hci_event.c
@@ -2549,7 +2549,6 @@ static void hci_mode_change_evt(struct hci_dev *hdev, struct sk_buff *skb)
2549 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle)); 2549 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle));
2550 if (conn) { 2550 if (conn) {
2551 conn->mode = ev->mode; 2551 conn->mode = ev->mode;
2552 conn->interval = __le16_to_cpu(ev->interval);
2553 2552
2554 if (!test_and_clear_bit(HCI_CONN_MODE_CHANGE_PEND, 2553 if (!test_and_clear_bit(HCI_CONN_MODE_CHANGE_PEND,
2555 &conn->flags)) { 2554 &conn->flags)) {