aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVille Tervo <ville.tervo@nokia.com>2007-07-11 09:23:41 +0200
committerWilly Tarreau <w@1wt.eu>2007-08-25 17:24:16 +0200
commit8c25e9c9cd1fed0d5f57075b584c39a4b9af9830 (patch)
tree777809c83d98561e0992759ecc1fc81bd97d211f /include
parentb37a2fc49a6b4b0dd4fdc0434f7d7b65a3f9aa3c (diff)
[PATCH] Keep rfcomm_dev on the list until it is freed
This patch changes the RFCOMM TTY release process so that the TTY is kept on the list until it is really freed. A new device flag is used to keep track of released TTYs. Signed-off-by: Ville Tervo <ville.tervo@nokia.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'include')
-rw-r--r--include/net/bluetooth/rfcomm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/rfcomm.h b/include/net/bluetooth/rfcomm.h
index 3c563f02907..25aa575db80 100644
--- a/include/net/bluetooth/rfcomm.h
+++ b/include/net/bluetooth/rfcomm.h
@@ -323,6 +323,7 @@ int rfcomm_connect_ind(struct rfcomm_session *s, u8 channel, struct rfcomm_dlc
#define RFCOMM_RELEASE_ONHUP 1
#define RFCOMM_HANGUP_NOW 2
#define RFCOMM_TTY_ATTACHED 3
+#define RFCOMM_TTY_RELEASED 4
struct rfcomm_dev_req {
s16 dev_id;