Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp2448212iob; Fri, 20 May 2022 09:32:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxmRLwV5ye6G/Jq4P4wkDYqETgTANU4BY4bY7HdD3d9sqWF+FJ/ngkm81fsQosHpuMPpMml X-Received: by 2002:a17:907:72c4:b0:6f4:ad52:b9fd with SMTP id du4-20020a17090772c400b006f4ad52b9fdmr9478550ejc.128.1653064378583; Fri, 20 May 2022 09:32:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653064378; cv=none; d=google.com; s=arc-20160816; b=akI1DOEVN4s8EB5yha7fITnuqsh9Y+61MQJYMtdQL5uJ/hrJbs2OzJsuwDtydt6tYY erOMgqX5w4MaFBDUbipd5KmguHRYUL1vvbqCrEiQDLqipEoAGXM9/GkC6my5+e0lwYTa BMDbKiMYu4KSB3fTj7dhM7t6YPtPkVgPPLL9RoOfjY0a7zTcxEohPgsNG4Uzyma6gwbC 5VbBg9WdTvvrkp7xoOkAbMOWsvdaT3XjgzBR8yO/X57bw3oXxcquI1RVFCkbfpaI8DhM TL/RVw68eiKH0SvKd7Bdp3cu5mofjSP14m9Uje0Ca6n23l2Q3k1+RDOGVMn/ti0O2sJo RKGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version; bh=ma0q/h/iVCH8W4/15geuHoLEN+DGIICLVkpgH8jiDyc=; b=oG/66dnVMv3itbkbkdxDcHwB4DFWz8S1BujAE7VRlCZ5mS1Q42Qi205jt/AVoqWTod PFMfDLkNDLbWqIBz2z+l3HJGcyeIeGyecMBFZAdvtDDItqRC4XQWW5QNdTw2BvntVxkF YCsNKTQkCTz6guqUDlmyQhkKg4TjVvJCaV6HbNOhoGW73gm8wKUHIt37149vFyRo7uTF KDVFTz4KEs/7pvEfljMhgnajzJyzbadPUngaxqv5xmcHz0bSWId9umtrz/K1fWCn2YHh 4gRYZd3sJp3mJMzvflAO4UeVxnmHAyzfaaFvz1BqaYIPOoGpcaj8cXqeBJ4XbO1owTka jUNQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d8-20020a056402144800b00425b14396d8si7577663edx.430.2022.05.20.09.32.23; Fri, 20 May 2022 09:32:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230117AbiETJSa convert rfc822-to-8bit (ORCPT + 99 others); Fri, 20 May 2022 05:18:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239056AbiETJS3 (ORCPT ); Fri, 20 May 2022 05:18:29 -0400 Received: from mail.holtmann.org (coyote.holtmann.net [212.227.132.17]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id F39368CCDA for ; Fri, 20 May 2022 02:18:05 -0700 (PDT) Received: from smtpclient.apple (p4ff9fb9d.dip0.t-ipconnect.de [79.249.251.157]) by mail.holtmann.org (Postfix) with ESMTPSA id 131A3CED09; Fri, 20 May 2022 11:18:05 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.100.31\)) Subject: Re: [PATCH v2 1/3] Bluetooth: hci_conn: Fix hci_connect_le_sync From: Marcel Holtmann In-Reply-To: <20220519202258.2459530-1-luiz.dentz@gmail.com> Date: Fri, 20 May 2022 11:18:04 +0200 Cc: linux-bluetooth@vger.kernel.org Content-Transfer-Encoding: 8BIT Message-Id: <4A64967D-9487-4E8E-80F1-64B0389B2D95@holtmann.org> References: <20220519202258.2459530-1-luiz.dentz@gmail.com> To: Luiz Augusto von Dentz X-Mailer: Apple Mail (2.3696.100.31) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Luiz, > The handling of connection failures shall be handled by the request > completion callback as already done by hci_cs_le_create_conn, also make > sure to use hci_conn_failed instead of hci_le_conn_failed as the later > don't actually call hci_conn_del to cleanup. > > Fixes: 8e8b92ee60de5 ("Bluetooth: hci_sync: Add hci_le_create_conn_sync") > Signed-off-by: Luiz Augusto von Dentz > --- > net/bluetooth/hci_conn.c | 5 +++-- > net/bluetooth/hci_event.c | 8 +++++--- > 2 files changed, 8 insertions(+), 5 deletions(-) you are making a bit mess with yet another v2 of this. I rather have you mark this as [PATCH -stable] or something so that we get this one into that tree and then later the rest into -next. Regards Marcel