Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp6786042pxb; Wed, 17 Feb 2021 13:27:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJxwh9b7cIPq3Y1BmY6zb0kl7iuov7JY86YvJ9GOUXUV4eXPo5O6mESz8skLc5lOudX2FSHh X-Received: by 2002:aa7:ce99:: with SMTP id y25mr741910edv.167.1613597239337; Wed, 17 Feb 2021 13:27:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613597239; cv=none; d=google.com; s=arc-20160816; b=mhS6QZtjuDlILEGgeKV0jozpj+2bTgmZ9t+wcaLyG3BjZXWzWdQSSl+VxkLIueANfQ 275y3FhGnCIvsCRizOjRxy0J9n6UOXw8b0eSr07YdoFWRRiBDVw2ETN1bFY9jUQgPBBc piZcdLdtZRyWoPo/Ab4s96FKPgPJpH9q6j7VM8bRzP9z82c6DMhMKWt3XQ6yBiCCa6PQ zdk8t3Bcby45cgAZhMhlGEDT8pJqBXxeW3x/c3hojjQDE1bQv0F2HGyrdFwNCp1jAr1y fnFeGEZhUWJ6KfVBR/EHawhYcrycf6KnOVcFQNDHr6J7umZjB7IuYBnfjIQZj8/A0DPt 5eCw== 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=uN/Yp5ipC4tr/cK+xCBV5eM7jpDf0heDb3PrZX1jkvM=; b=mhfE+kABl6j4XYau3mlL21P5xk+yoirseTF8B5TMzR7xGulYAjsrc9lEQiNKuK+LN5 5qL1MMj6EmaNgTd0GrxS9JXpWnESY04YQ83073oqusPMQfFNBKKqF9XZ7qIg+exOK955 66DsZa3qrDxjEts/WrhPZjTyawANrP0wY7dljAvvNGZwJP2P+fOWZrvKgqrxK07wB/Hm VkRoN0pfXGXOkbrLhZxWXa/oDLSlrsA6VMxsYIhqHW9vyoedGzEdmrO+GRgTn/HgSg27 +opCTV3jEO8JxL6656K/KSSeQWdW0dr3YKDQjNMaNUUFgEszu8dI3+hPOcdPvFcG2iYl z+hA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="BVlg/DpF"; 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=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s17si2065976edy.424.2021.02.17.13.26.54; Wed, 17 Feb 2021 13:27:19 -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=@chromium.org header.s=google header.b="BVlg/DpF"; 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=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231547AbhBQUiV (ORCPT + 99 others); Wed, 17 Feb 2021 15:38:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231483AbhBQUiT (ORCPT ); Wed, 17 Feb 2021 15:38:19 -0500 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09A5AC061574 for ; Wed, 17 Feb 2021 12:37:39 -0800 (PST) Received: by mail-lf1-x132.google.com with SMTP id p21so23977650lfu.11 for ; Wed, 17 Feb 2021 12:37:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=uN/Yp5ipC4tr/cK+xCBV5eM7jpDf0heDb3PrZX1jkvM=; b=BVlg/DpFyk11iGwxFFCYJJPo/tDuKWmzXXtCRCi4sE9tQdMlzulUdvHhaaSesJIOKN WpBisAGjvxQx9ZQzQdERhcAP8ckA+FsHoL5AKbLBDXW0nZhJzzRc3SJR8Dq7nrT5Tg/a Ilbb+SNN6P3BBG41PoWiutkY5lc/n0UTtYeik= 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=uN/Yp5ipC4tr/cK+xCBV5eM7jpDf0heDb3PrZX1jkvM=; b=kuCivCFsXbjp7cgS6KrAQRmpXFfemQHVqm+Adygn8Q8CfKWr8cnNaVEDlhGqMRqkts Mf5VcJBQp0ZEO3pHVCDvTIo/XM3T+JPs1tNw46aquhdR0SMkAaTksoLjTlOqV4tNQUbH JLZV+UmkMMv78hwFMUDUeJsXlouRBcSMUsv23u34bQ8DxWXvN6WsircsrfRrWFegs42r YbyeObfLJ009cC2Lp2PDy27SiW+08TE1ZRnY/Vr5X+dfMraligcI871nXf4/vPeXQ2ib g7Nu/rZhbO5K3WcBm6AkDmkrOS9XLdtC0FceUpylJG5loGZwZFdIjdJcYu0Ee8d/7siJ fGFg== X-Gm-Message-State: AOAM532up48W/pappTdOuApuIgjojQwqJEVESrSX+4MBgZqxouu/eCAb /+/urmnM3k9r1IuNjJmOI7up3/NUBd51GJ533l+6Ng== X-Received: by 2002:a19:ee12:: with SMTP id g18mr383717lfb.265.1613594257484; Wed, 17 Feb 2021 12:37:37 -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: Miao-chen Chou Date: Wed, 17 Feb 2021 12:37:26 -0800 Message-ID: Subject: Re: [BlueZ,1/3] avdtp: Fix setting disconnect timer when there is no local endpoints To: Luiz Augusto von Dentz 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 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. 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