diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2007-08-19 15:27:56 +0000 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2007-08-19 15:27:56 +0000 |
commit | 78a94059160d7478624cad315022255f7ebbbe80 (patch) | |
tree | 0540f729abd73d2353ae716da22abcdf73709fec /audio/avdtp.c | |
parent | a20ed567f6904e0dbf63aac5b45aa1fdd50f45de (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.c | 7 |
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) |