Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2223053ybt; Mon, 15 Jun 2020 23:39:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJywqMfR9s1FL3MeS3P+peuesxAgiwrlJKW1GH/sdMMWiCnmB6gKmapURtIA15QfgoLv+AUB X-Received: by 2002:a05:6402:1b01:: with SMTP id by1mr1204237edb.20.1592289552206; Mon, 15 Jun 2020 23:39:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592289552; cv=none; d=google.com; s=arc-20160816; b=oUp3okpP0VNjBui1g4k/5k2bpLb+fxMJJFqrrB5BNMmkfjwMt1pPeL/qCS8Pa58jY4 l13s6Fzw4gHUb9tTvPnnk1leCag0EH8qinaUe2MKNGcPVRmv4cAg6yb8crK9bU3gIkFG ycpTqYFmEpbx8DlpUpG97ALQrWMd6G5EZnbhpNofvBatA6y4Om3NUMF1/Q8+bnDb1r4M YieMLjb0+uXVg+sTr0Fsd9wXnTWs9J/GIm9uHVQAsKf7838YeO38rSQvAMVPF12yqgHp JaH9/Cukq2k/1A7HxnsZ8LyhO2oMrKrIWmBuNIqo1x9L9bOJ3zn4nFIyPk3PLRun9uM/ 8BUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=fvHRN5NEGaaSU3n1SAkZgJkjL/zaT73fM/L2ReTzvQA=; b=TzD3+vKIFt05f8puJxifhQTNjECoh4Lfdl5/QVKW32ml8g36S/W40bZRNapXBS+HWq OpuaspKrQJfQTkt4cPKBy2st7quN+jFBEwWNnQpMx92yK0ZV6B9r+88BNFwhKe/7xq7W sP2NPVnpCKDboEq88I01BaFa66MWZCIzU7nUmub7b4JCnVOGF5lcoMg7nZpxnZ68PPEv e/EPmQACD19Ah+J8cVSfYK+Jlazi+/N2rdigCxmz5t3gXNDI3GJeP/6ulXJ68EQi/5kz X2dpnDUW3MnmL+yBu+cGXwPYD8xH2b4vnlQyOLn841KgawwsfniLzQ2AfaISyiQVgDU4 Ko6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=C1SuvxPc; 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 w4si10513486ejj.300.2020.06.15.23.38.31; Mon, 15 Jun 2020 23:39:12 -0700 (PDT) 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=C1SuvxPc; 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 S1725901AbgFPGiP (ORCPT + 99 others); Tue, 16 Jun 2020 02:38:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45914 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725775AbgFPGiO (ORCPT ); Tue, 16 Jun 2020 02:38:14 -0400 Received: from mail-ot1-x341.google.com (mail-ot1-x341.google.com [IPv6:2607:f8b0:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 742D9C05BD43 for ; Mon, 15 Jun 2020 23:38:14 -0700 (PDT) Received: by mail-ot1-x341.google.com with SMTP id g7so15108351oti.13 for ; Mon, 15 Jun 2020 23:38:14 -0700 (PDT) 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=fvHRN5NEGaaSU3n1SAkZgJkjL/zaT73fM/L2ReTzvQA=; b=C1SuvxPcoU3n5lvpPT7qnCh1aO0mo0vTwR2YAltyPm1fSumMmmLqCrjYd+TZGtlyqF VffpNsVNlOz64vB5/PjOTVFjxFs0nzQ2VH4amwhLaCR9JDR04aA+8D15c92vUL+UutbI ALq1grZQLCTqtz8F7cqY36MJHkG6q93rQRHSNMJc6Y8Rj6dV9R5fLxwIhN7NDYlmHbOY t28rrUSdNyqaq1BQseshXrY5k4ugHHB/x7Poy7lRMuVAmTqEeI/emb4+eRCWn4+3Vkos u+3EF2+5XGIRq9CNiF91mmd7w+KHEb7+AQT4cOTjdb7mh/jrkfx2rfrg+IP1ALebFLx3 Hlww== 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=fvHRN5NEGaaSU3n1SAkZgJkjL/zaT73fM/L2ReTzvQA=; b=pfPl9eMN7+X9vQzdlUU9R7k2L0u6VYnd+6yJMRDZRtPPXcgUa/yluB4FuIAo3YDt3q w1aLtMwlTK4PLo0WlZOp6KLEcgFcuuXIbYZYyr63Eev3ZF0YG+h+UceeJQp2kaYHPaav dSIvlcuHUgXUHK5Rw/q+9m8BxWrGsUc8zGTzZFs/BlqkKCJhw8fjJl6xJecTl0awEwIe 1DqOD+u8o9Xmow3tfr+HzQkY5GaB2cvPE+vxzN1dBPX3HvK3+6QHQjXQFS8Sm35Vjf1+ Sf98uOqWoDgWZyzTQwZSHvfNDSYG090240TI3ckUo2BcvJteV+rjIseuoH+9eeVFRZ/K bjUA== X-Gm-Message-State: AOAM533uxlrlDoHaYRPtJwmCS/FTpxKmzcfPIUJAlMFmyA7V54gNIxBT 8Ig/ubyzdau3LFNTUusGJHvbi4u60oHwHKOWC5fvmg== X-Received: by 2002:a05:6830:1d76:: with SMTP id l22mr1143561oti.177.1592289493769; Mon, 15 Jun 2020 23:38:13 -0700 (PDT) MIME-Version: 1.0 References: <20200615212806.BlueZ.v1.1.I8328c620402620c9aadc149614bb279e42a9db4f@changeid> In-Reply-To: From: Luiz Augusto von Dentz Date: Mon, 15 Jun 2020 23:38:00 -0700 Message-ID: Subject: Re: [BlueZ PATCH v1] lib: Correct the name of Add Advertisement Patterns Monitor Command opcode To: "Von Dentz, Luiz" Cc: Miao-chen Chou , Bluetooth Kernel Mailing List , Alain Michaud , Marcel Holtmann Content-Type: text/plain; charset="UTF-8" Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org On Mon, Jun 15, 2020 at 11:18 PM Von Dentz, Luiz wrote: > > Hi Miao, > > On Mon, Jun 15, 2020 at 9:28 PM Miao-chen Chou wrote: > > > > lib/mgmt.h | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/lib/mgmt.h b/lib/mgmt.h > > index f44f2465d..bb31156ab 100644 > > --- a/lib/mgmt.h > > +++ b/lib/mgmt.h > > @@ -673,7 +673,7 @@ struct mgmt_adv_pattern { > > uint8_t value[31]; > > } __packed; > > > > -#define MGMT_OP_ADD_ADV_MONITOR 0x0052 > > +#define MGMT_OP_ADD_ADV_PATTERNS_MONITOR 0x0052 > > struct mgmt_cp_add_adv_monitor { > > uint8_t pattern_count; > > struct mgmt_adv_pattern patterns[0]; > > -- > > 2.26.2 > > > The name already contains PATTERNS: > > https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/doc/mgmt-api.txt#n3499 Nevermind this is actually the command name rather than its definition which is what you are fixing. -- Luiz Augusto von Dentz