Hi Luiz, On Fri, Oct 26, 2012, Luiz Augusto von Dentz wrote: > Don't initialize reference with 1, instead always start disconnect timer > when reference drops to 0, so in case nobody reclaims the session it > automatically disconnect after 1 second and frees the memory. > --- > v2: Fix with stream_setup flag being ignored in disconnect_timeout > v3: Do avrcp_free on connection_lost to avoid having dangling sessions in > disconnected state waiting the timeout to be freed. > v4: Remove unnecessary reference when authorizing, disconnect timer is only > started when the session is really connected. > > audio/avdtp.c | 204 +++++++++++++++++++++++----------------------------------- > 1 file changed, 82 insertions(+), 122 deletions(-) Applied. Thanks. Johan -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html