From 1c28d6bfc5d9f01956dfbbca1c04df10cf68591f Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Wed, 15 Aug 2007 09:05:36 +0000 Subject: Fix CONFIGURED->OPEN state change --- audio/avdtp.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/audio/avdtp.c b/audio/avdtp.c index d313899d..a13abd23 100644 --- a/audio/avdtp.c +++ b/audio/avdtp.c @@ -1146,8 +1146,6 @@ static void handle_transport_connect(struct avdtp *session, int sock, stream->io = g_io_add_watch(channel, G_IO_ERR | G_IO_HUP | G_IO_NVAL, (GIOFunc) transport_cb, stream); g_io_channel_unref(channel); - - avdtp_sep_set_state(session, sep, AVDTP_STATE_OPEN); } static void init_request(struct avdtp_header *header, int request_id) -- cgit