]> 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>
Fri, 3 May 2013 19:09:44 +0000 (16:09 -0300)
commitd3dfc36ff8d5808903d763c3387f1f9305a01929
treeb9c8c5889617683e1708abc7cb6282097e95a8fd
parentc9159ca024a700154a83f8e2f6d5857bc6d10455
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