From 2ca8449fb88b7e3a9bc6cec835bbf8b001cbc6f5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E9=BB=84=E6=B6=9B?= Date: Sat, 30 Jul 2011 22:26:34 +0800 Subject: [PATCH] Revert "Revert "Bluetooth: Fix removing of RFCOMM DLC timer with DEFER_SETUP"" This reverts commit 33a3a31ffafc73c537e4a99c99da766863cc9d41. --- net/bluetooth/rfcomm/core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/bluetooth/rfcomm/core.c b/net/bluetooth/rfcomm/core.c index 77d76e6d999f..e105d36f01a7 100755 --- a/net/bluetooth/rfcomm/core.c +++ b/net/bluetooth/rfcomm/core.c @@ -1194,6 +1194,8 @@ void rfcomm_dlc_accept(struct rfcomm_dlc *d) rfcomm_send_ua(d->session, d->dlci); + rfcomm_dlc_clear_timer(d); + rfcomm_dlc_lock(d); d->state = BT_CONNECTED; d->state_change(d, 0); -- 2.34.1