Return-Path: MIME-Version: 1.0 In-Reply-To: References: Date: Fri, 23 Mar 2012 14:49:51 +0100 Message-ID: Subject: Re: media transport -- when is acquire ok to call? From: "Dalleau, Frederic" To: Mike Cc: Luiz Augusto von Dentz , linux-bluetooth Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Mike, Luiz, > I think I've figured out why I didn't see the SEP error print out. > The function resume_a2dp calls a2dp_sep_lock. ?The only place this > ever gets unlocked is in a suspend call. ?If a2dp_resume returns an > error code, the sep remains forever locked. ?And it seems, the SEP > will no longer let acquire happen on future A2DP connections, > requiring bluetoothd to be restarted for this to work. I'm experimenting similar issues right now on hfgw. Could it be because the endpoint is crashing after acquiring? Fr?d?ric