diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-08-06 10:18:48 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-08-06 10:18:48 -0700 |
commit | cd5098d254a28a5980bc6dec9644f99ee884a548 (patch) | |
tree | 4af4f1878367c88c9303d1b71e20c9b5aa47cb32 /net/bluetooth/rfcomm/core.c | |
parent | d8588ee5b87226d96e07add42027246746357fe3 (diff) | |
parent | 576c7d858f36cab6110b29db7b53964d5132cf30 (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/holtmann/bluetooth-2.6
Diffstat (limited to 'net/bluetooth/rfcomm/core.c')
-rw-r--r-- | net/bluetooth/rfcomm/core.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/net/bluetooth/rfcomm/core.c b/net/bluetooth/rfcomm/core.c index e9e6fda66f1..27bf5047cd3 100644 --- a/net/bluetooth/rfcomm/core.c +++ b/net/bluetooth/rfcomm/core.c @@ -389,8 +389,6 @@ static int __rfcomm_dlc_close(struct rfcomm_dlc *d, int err) rfcomm_dlc_unlock(d); skb_queue_purge(&d->tx_queue); - rfcomm_session_put(s); - rfcomm_dlc_unlink(d); } @@ -600,8 +598,6 @@ static struct rfcomm_session *rfcomm_session_create(bdaddr_t *src, bdaddr_t *dst goto failed; } - rfcomm_session_hold(s); - s->initiator = 1; bacpy(&addr.l2_bdaddr, dst); |