Marcel Holtmann 77f2a45fa1 [Bluetooth] Check that device is in rfcomm_dev_list before deleting
If RFCOMM_RELEASE_ONHUP flag is on and rfcomm_release_dev is called
before connection is closed, rfcomm_dev is deleted twice from the
rfcomm_dev_list and refcount is messed up. This patch adds a check
before deleting device that the device actually is listed.

Signed-off-by: Ville Tervo <ville.tervo@nokia.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
2007-05-05 00:36:10 +02:00
..
2007-04-25 22:29:24 -07:00
2007-04-25 22:29:24 -07:00
2007-04-25 22:29:24 -07:00
2007-04-25 22:30:04 -07:00
2007-04-25 22:29:24 -07:00
2007-04-26 00:57:41 -07:00
2007-04-26 00:57:41 -07:00
2007-04-25 22:29:24 -07:00
2005-04-16 15:20:36 -07:00