Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp6905550pxb; Wed, 17 Feb 2021 17:31:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJzCFfS+hm+tiM45xwO7mGk3p7MiA9eF7TfHw+6ZbvJBOUlO3ssKkf4D2r9VnLfqWsS5upeO X-Received: by 2002:a17:906:a4c:: with SMTP id x12mr1591827ejf.159.1613611880273; Wed, 17 Feb 2021 17:31:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613611880; cv=none; d=google.com; s=arc-20160816; b=M7aL5j+p4vK2f74PzJMisU/3CR76n+pIHaH6ifGMqTJSZzawwW6bkknkt9u7Vb1dWr N9/MwhB4OE3ysQBLR6mFABs3QcQN8fN6stJjEdpn1vbWt7zcecDmmgTqCQ7cNUCLvqak CYCNJkx0uCKvKrB8uT5aeg5HAA3S3fxZcBfrRtY47Hh9nC+Qz74eRMJjYR/E5mjqnpRL AL3Gu8Z+dc8N++cJMhJLQVajiYuqbptwIJMxwJFxi/a4qIXUoHdX4GWfDRzd5oMJWXxF h3ey2W6JeMi2n5b775izdymh8K+QP7Wj4lYNiCSsIS+mMQ/gPulMMkRug2eDFXjtaAGM XDXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=rIHIKQkC8DB2zJQvYoets5QnIvc1FDX490MjOJHjfN0=; b=cpwh4ocBlz1/tlMtUhMe1+UNOtV9u5BR1Wvn6OMS4vKcUjgprUIevhWo9Vd8PiZRRX 6F9yPEi0fsDfZLtiNxGziii90hg4UDd4vWtxlnclIe8CIkt3hWH4wJQEdLeXApITcoHG 9dgcOgVh+XyMr65A6B9ddBjFz3EyGyXlVDzZg8M/GPbSDq+VU1oypWfzouq3zb2QDs1A 8jgHqB1UUPFBdpJ37uBLZBd4aWX+ZeKDQJRDJ4NZTl+dT4pYpCvUoDMKrJlZ2WxsgZo+ yRH0Nk1hlYKXHoCdIHQj6sQWqk3gf0QamODOqwRok90219qmVxnAyGgbeaM67LV7vW+/ UBIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=cARyuHQC; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z14si2021744edq.344.2021.02.17.17.30.56; Wed, 17 Feb 2021 17:31:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=cARyuHQC; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229873AbhBRB3F (ORCPT + 99 others); Wed, 17 Feb 2021 20:29:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229808AbhBRB3F (ORCPT ); Wed, 17 Feb 2021 20:29:05 -0500 Received: from mail-ot1-x333.google.com (mail-ot1-x333.google.com [IPv6:2607:f8b0:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B931DC061794 for ; Wed, 17 Feb 2021 17:28:14 -0800 (PST) Received: by mail-ot1-x333.google.com with SMTP id e4so490465ote.5 for ; Wed, 17 Feb 2021 17:28:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=rIHIKQkC8DB2zJQvYoets5QnIvc1FDX490MjOJHjfN0=; b=cARyuHQCDN+9glHUctmbFNIssE8tHWQaxPzvYj9ZQbAJ4qHNIdDNpVr2ySK2l/kS4d mlne+tRtBw6OXE39HBIOPwEQd6MfeUTj69HwRUQ/iQNEiCprHp+kw1v4pKMI8yN7Em61 K8hFLxWOgbjGtlBNecywGVSBucaCB1tkOnLFbfHbzkvlmKFdc21riYpr1NBSXFs2OX3t BGxfuKgW+t9XVDOFy/+JVUxlNw2lNlaeksamXX9kJPPLMrf7OiXyWE/f2mqf1+GJsQdY HkophZK2evvm7QjySnzSOx6QZeB2Uab756VCREHg/nL4qNcS3UUL0sS9t8W8ja/eGVCR REbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=rIHIKQkC8DB2zJQvYoets5QnIvc1FDX490MjOJHjfN0=; b=GRCy0M6QdAw89DOS9HhnY1ZKW2M1pkofWtf3lSwbQJoiJbt2Su2OuAgYGZmX/rfU6p BoydsXc3LvBAIIYKHnsAkN5jZ6LGwCuBYiUMiQiNSMTlg/zcFO1+lS8gjwp8QvJm5ck6 BLirF3M53NEtTlB0acp73k9D3hsnYcdp2TDI4onhoLSyk1HtqRw4S0gQKn7I/cRNmPe+ Tu4NKUF66JTyVifGv+UGvsey/WJkUaMnPEyxBcpqkldTj8DlF9IxBv/IGyiRg3YOIqZP h1YQQWaBaKMdu7gQ87lIkeOfnuK7z1x0g7Q1heroCh+veujg0NI481Qg8Gv+ESQkD1+m ZvCw== X-Gm-Message-State: AOAM532eI2Z28oomjT39m8utdjnCQeblF6K+8hWFemTTQP0LnpVs72UN TzAECTmyULEg9WURuZuLQX9S9lNgk9M7WS+Oj4rwq57PplA= X-Received: by 2002:a9d:208a:: with SMTP id x10mr1291515ota.44.1613611694054; Wed, 17 Feb 2021 17:28:14 -0800 (PST) MIME-Version: 1.0 References: <20210216233337.859955-1-luiz.dentz@gmail.com> <602c5bd2.1c69fb81.cf0ee.0856@mx.google.com> In-Reply-To: From: Luiz Augusto von Dentz Date: Wed, 17 Feb 2021 17:28:03 -0800 Message-ID: Subject: Re: [BlueZ,1/3] avdtp: Fix setting disconnect timer when there is no local endpoints To: Miao-chen Chou Cc: "linux-bluetooth@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi, On Wed, Feb 17, 2021 at 1:24 PM Luiz Augusto von Dentz wrote: > > Hi Miao, > > On Wed, Feb 17, 2021 at 12:37 PM Miao-chen Chou wrote: > > > > Hi Luiz, > > > > I was testing before seeing your email. Please take a look at my > > comment on the last commit of the series. > > Although this commit doesn't affect the symptom we observed (it was > > IDLE state which triggers the disconnection of IO), the change makes > > sense. > > Yep, this doesn't actually make any difference on the matter of > freeing avdtp session when the adapter is removed but as you said it > makes sense on it own given that local endpoints can be unregistered. > > > On Wed, Feb 17, 2021 at 11:45 AM Luiz Augusto von Dentz > > wrote: > > > > > > Hi Miao, > > > > > > On Tue, Feb 16, 2021 at 3:57 PM wrote: > > > > > > > > This is automated email and please do not reply to this email! > > > > > > > > Dear submitter, > > > > > > > > Thank you for submitting the patches to the linux bluetooth mailing list. > > > > This is a CI test results with your patch series: > > > > PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=434305 > > > > > > > > ---Test result--- > > > > > > > > ############################## > > > > Test: CheckPatch - PASS > > > > > > > > ############################## > > > > Test: CheckGitLint - PASS > > > > > > > > ############################## > > > > Test: CheckBuild - PASS > > > > > > > > ############################## > > > > Test: MakeCheck - PASS > > > > > > > > > > > > > > > > --- > > > > Regards, > > > > Linux Bluetooth > > > > > > Can you give this set a try with the use case you had? I tested with > > > unplugged use case and it now seems to trigger session_cb immediately > > > so it should work for your case as well. > > > > > > -- > > > Luiz Augusto von Dentz > > Thanks, > > Miao > > > > -- > Luiz Augusto von Dentz Pushed. -- Luiz Augusto von Dentz