[Bluetooth] Keep rfcomm_dev on the list until it is freed
authorVille Tervo <ville.tervo@nokia.com>
Wed, 11 Jul 2007 07:23:41 +0000 (09:23 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 11 Jul 2007 05:06:51 +0000 (07:06 +0200)
commit8de0a15483b357d0f0b821330ec84d1660cadc4e
treeb53fe490c95066dfc95f58d52b26e3f1f75ecdba
parent84950cf0ba02fd6a5defe2511bc41f9aa2237632
[Bluetooth] 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>
include/net/bluetooth/rfcomm.h
net/bluetooth/rfcomm/tty.c