From: Johan Hedberg Date: Thu, 26 Mar 2009 14:41:56 +0000 (+0200) Subject: Bluetooth: Fix removing of RFCOMM DLC timer with DEFER_SETUP X-Git-Tag: v2.6.30-rc4~68^2~30^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2139b32726e5dd184974c785ea3f62026590801;p=pandora-kernel.git Bluetooth: Fix removing of RFCOMM DLC timer with DEFER_SETUP There is a missing call to rfcomm_dlc_clear_timer in the case that DEFER_SETUP is used and so the connection gets disconnected after the timeout even if it was successfully accepted previously. This patch adds a call to rfcomm_dlc_clear_timer to rfcomm_dlc_accept which will get called when the user accepts the connection by calling read() on the socket. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed