Bluetooth: Set discon_timeout to 0 in l2cap_conn_del
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 18 Aug 2014 17:33:28 +0000 (20:33 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 8 Sep 2014 17:07:54 +0000 (19:07 +0200)
commite31fb86005a01b7df8427b09d0158da28d0c773a
tree35dd3d4d9d618b423d2bf553d38436419ad57719
parentbcbb655a180344d8004ede669228992bff1921e4
Bluetooth: Set discon_timeout to 0 in l2cap_conn_del

When the l2cap_conn_del() function is used we do not want to wait around
"in case something happens" before disconnecting. This patch sets the
disconnection timeout to 0 so that the disconnection routines get
immediately scheduled.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/l2cap_core.c