diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2014-02-09 20:59:14 -0500 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-02-14 13:39:31 -0800 |
commit | c4fd318d6ebc16bd64ca7b9c06f21b7f33bb462e (patch) | |
tree | 153985cd051ba3cae45b18158bce3fac0918a73f /net/can | |
parent | f622357a5e83e3a812ca985a78e86d750c98228b (diff) | |
download | linux-c4fd318d6ebc16bd64ca7b9c06f21b7f33bb462e.tar.gz linux-c4fd318d6ebc16bd64ca7b9c06f21b7f33bb462e.tar.bz2 linux-c4fd318d6ebc16bd64ca7b9c06f21b7f33bb462e.zip |
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 <peter@hurleysoftware.com>
Tested-By: Alexander Holler <holler@ahsoftware.de>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/can')
0 files changed, 0 insertions, 0 deletions