|
@@ -389,8 +389,6 @@ static int __rfcomm_dlc_close(struct rfcomm_dlc *d, int err)
|
|
rfcomm_dlc_unlock(d);
|
|
rfcomm_dlc_unlock(d);
|
|
|
|
|
|
skb_queue_purge(&d->tx_queue);
|
|
skb_queue_purge(&d->tx_queue);
|
|
- rfcomm_session_put(s);
|
|
|
|
-
|
|
|
|
rfcomm_dlc_unlink(d);
|
|
rfcomm_dlc_unlink(d);
|
|
}
|
|
}
|
|
|
|
|
|
@@ -600,8 +598,6 @@ static struct rfcomm_session *rfcomm_session_create(bdaddr_t *src, bdaddr_t *dst
|
|
goto failed;
|
|
goto failed;
|
|
}
|
|
}
|
|
|
|
|
|
- rfcomm_session_hold(s);
|
|
|
|
-
|
|
|
|
s->initiator = 1;
|
|
s->initiator = 1;
|
|
|
|
|
|
bacpy(&addr.l2_bdaddr, dst);
|
|
bacpy(&addr.l2_bdaddr, dst);
|