From: Peter Hurley Date: Mon, 10 Feb 2014 01:59:14 +0000 (-0500) Subject: Bluetooth: Directly close dlc for not yet started RFCOMM session X-Git-Tag: v3.15-rc1~113^2~159^2^2~130^2~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4fd318d6ebc16bd64ca7b9c06f21b7f33bb462e;p=pandora-kernel.git Bluetooth: Directly close dlc for not yet started RFCOMM session If the RFCOMM session has not yet been started (ie., session is still in BT_BOUND state) when a dlc is closed, directly close and unlink the dlc rather than sending a DISC frame that is never sent. This allows the dlci to be immediately reused rather than waiting for a 20 second timeout. Signed-off-by: Peter Hurley Tested-By: Alexander Holler Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed