From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 419F3C433F5 for ; Tue, 16 Nov 2021 14:14:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1D74963212 for ; Tue, 16 Nov 2021 14:14:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237204AbhKPORl (ORCPT ); Tue, 16 Nov 2021 09:17:41 -0500 Received: from coyote.holtmann.net ([212.227.132.17]:36620 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237325AbhKPORX (ORCPT ); Tue, 16 Nov 2021 09:17:23 -0500 Received: from smtpclient.apple (p4fefc15c.dip0.t-ipconnect.de [79.239.193.92]) by mail.holtmann.org (Postfix) with ESMTPSA id 1CC04CECD7; Tue, 16 Nov 2021 15:14:25 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.20.0.1.32\)) Subject: Re: [PATCH 1/3] Bluetooth: hci_sync: Convert MGMT_OP_SET_DISCOVERABLE to use cmd_sync From: Marcel Holtmann In-Reply-To: <20211112004844.176271-1-luiz.dentz@gmail.com> Date: Tue, 16 Nov 2021 15:14:24 +0100 Cc: linux-bluetooth@vger.kernel.org Content-Transfer-Encoding: 7bit Message-Id: References: <20211112004844.176271-1-luiz.dentz@gmail.com> To: Luiz Augusto von Dentz X-Mailer: Apple Mail (2.3693.20.0.1.32) Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Luiz, > This makes MGMT_OP_SET_DISCOVERABLE use hci_cmd_sync_queue instead of > use a dedicated discoverable_update work. > > Signed-off-by: Luiz Augusto von Dentz > --- > include/net/bluetooth/hci_core.h | 2 - > include/net/bluetooth/hci_sync.h | 3 ++ > net/bluetooth/hci_request.c | 12 ----- > net/bluetooth/hci_sync.c | 90 +++++++++++++++++++++++++++++++- > net/bluetooth/mgmt.c | 43 +++++++-------- > 5 files changed, 112 insertions(+), 38 deletions(-) patch has been applied to bluetooth-next tree. Regards Marcel