summaryrefslogtreecommitdiffstats
path: root/audio/avdtp.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/avdtp.c')
-rw-r--r--audio/avdtp.c2
1 files changed, 0 insertions, 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)