Hi Daniel, On Tue, Feb 09, 2010, Daniel Örstadius wrote: > From: Daniel Orstadius <daniel.orstadius@xxxxxxxxx> > Date: Tue, 9 Feb 2010 18:23:50 +0200 > Subject: [PATCH] Handle unanswered AVDTP request on disconnect > > If the connection is lost when there is an AVDTP request the > remote has not replied to and which has not timed out, then at > least in some cases the callback for the request is not called > leading to no Error response being sent on the Audio API. > > This patch checks if there is an outstanding request when the stream > state goes to idle and in that case triggers the corresponding callback > with an error. > --- > audio/avdtp.c | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++- I applied the patch with a few minor cosmetic changes. Thanks. Johan -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html