summaryrefslogtreecommitdiffstats
path: root/audio/avdtp.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2007-08-19 15:27:56 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2007-08-19 15:27:56 +0000
commit78a94059160d7478624cad315022255f7ebbbe80 (patch)
tree0540f729abd73d2353ae716da22abcdf73709fec /audio/avdtp.c
parenta20ed567f6904e0dbf63aac5b45aa1fdd50f45de (diff)
Improve handling of unix clients which stay connected even though the headset connection is lost
Diffstat (limited to 'audio/avdtp.c')
-rw-r--r--audio/avdtp.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/audio/avdtp.c b/audio/avdtp.c
index 993bf89c..a82f21d5 100644
--- a/audio/avdtp.c
+++ b/audio/avdtp.c
@@ -1518,7 +1518,6 @@ static gboolean request_timeout(gpointer user_data)
struct avdtp *session = user_data;
struct pending_req *req;
struct seid_req sreq;
- struct avdtp_remote_sep *rsep;
struct avdtp_local_sep *lsep;
struct avdtp_stream *stream;
uint8_t seid;
@@ -1531,12 +1530,6 @@ static gboolean request_timeout(gpointer user_data)
seid = ((struct seid_req *) (req->msg))->acp_seid;
- rsep = find_remote_sep(session->seps, seid);
- if (!rsep) {
- error("Unable to find matching remote SEID %u", seid);
- goto failed;
- }
-
stream = find_stream_by_rseid(session, seid);
if (stream)