diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2007-08-12 13:11:19 +0000 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2007-08-12 13:11:19 +0000 |
commit | b775db77fe965b6b1768d75198fc9dd201e83818 (patch) | |
tree | 27783f6e38d59135c3f97a02d014da61f01895fd /audio/avdtp.c | |
parent | fa90ffdf3ed9cf76ac71b32cda782fb43b6ccbab (diff) |
l2cap_connect doesn't have to call finalize_discovery as the caller takes care of it (when getting a failure return value)
Diffstat (limited to 'audio/avdtp.c')
-rw-r--r-- | audio/avdtp.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/audio/avdtp.c b/audio/avdtp.c index fd99153d..c3bbccc6 100644 --- a/audio/avdtp.c +++ b/audio/avdtp.c @@ -1132,7 +1132,6 @@ static int l2cap_connect(struct avdtp *session) if (!(errno == EAGAIN || errno == EINPROGRESS)) { error("Connect failed. %s(%d)", strerror(errno), errno); - finalize_discovery(session, errno); g_io_channel_close(io); g_io_channel_unref(io); return -errno; |