Return-Path: MIME-Version: 1.0 In-Reply-To: References: From: =?UTF-8?Q?Fran=C3=A7ois_Beaufort?= Date: Wed, 9 Mar 2016 13:17:56 +0100 Message-ID: Subject: Re: Write should return error if device is disconnected while expecting a response To: Luiz Augusto von Dentz Cc: BlueZ development Content-Type: text/plain; charset=UTF-8 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Thank you so much Luiz, I'm going to test this tomorrow. In the mean time, which patches should be applied now if we want to fix this in Chrome OS BlueZ? On Wed, Mar 9, 2016 at 11:53 AM, Luiz Augusto von Dentz wrote: > Hi François, > > On Mon, Mar 7, 2016 at 5:54 PM, Luiz Augusto von Dentz > wrote: >> Hi François, >> >> On Mon, Mar 7, 2016 at 5:36 PM, François Beaufort >> wrote: >>> (gentle ping) >>> >>> On Thu, Mar 3, 2016 at 10:46 AM, François Beaufort >>> wrote: >>>> Since I'm expecting a response and device gets disconnected, I should >>>> get a write error don't you think? >> >> Yes, it should probably return and error so the client is not left >> hanging. I will investigate how this can be fixed. > > This should be fixed upstream, it will be part of 5.38 which should be > coming out soon. > > -- > Luiz Augusto von Dentz