]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Bluetooth: Remove useless hci_conn disc_timeout setting
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 29 Apr 2013 16:35:44 +0000 (19:35 +0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Wed, 29 May 2013 21:43:38 +0000 (18:43 -0300)
commit01b27246fd821370f9457797db6a3a35a04010ef
tree866563aa9776a6008713a207675260e9790f3d63
parent9b575c2350e142d37d69ce2ba6c7576c48e0623f
Bluetooth: Remove useless hci_conn disc_timeout setting

There's no need to reset disc_timeout in l2cap_le_conn_ready since
HCI_DISCONN_TIMEOUT is the default when the hci_conn is created and
there should be no way for it to get changed between creation and
l2cap_le_conn_ready being called.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/l2cap_core.c