From patchwork Tue May 4 10:08:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sathish Narasimman X-Patchwork-Id: 431287 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9BD5FC43460 for ; Tue, 4 May 2021 10:00:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 71FF9601FE for ; Tue, 4 May 2021 10:00:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230089AbhEDKBm (ORCPT ); Tue, 4 May 2021 06:01:42 -0400 Received: from mga18.intel.com ([134.134.136.126]:12059 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230086AbhEDKBZ (ORCPT ); Tue, 4 May 2021 06:01:25 -0400 IronPort-SDR: yatosVXEwteQCw6C2TP83zsnWOJHS+Hr1/iG7Q3W8pKCPclH2X5kNdJKq2kuqcQf9DXPJrwukp UcmsveWgCNog== X-IronPort-AV: E=McAfee;i="6200,9189,9973"; a="185413021" X-IronPort-AV: E=Sophos;i="5.82,272,1613462400"; d="scan'208";a="185413021" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 May 2021 02:59:44 -0700 IronPort-SDR: hI5UAwaod2LEFcYfYIZ3ZKpqR3Le8ux0akP0+yksNaa+1NWxrAffyh/9J8QzQadDQEQCpUSASz lTlzIMCgFHdg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,272,1613462400"; d="scan'208";a="621473788" Received: from nsathish-latitude-7480.iind.intel.com ([10.224.186.105]) by fmsmga005.fm.intel.com with ESMTP; 04 May 2021 02:59:42 -0700 From: Sathish Narasimman To: linux-bluetooth@vger.kernel.org Cc: chethan.tumkur.narayan@intel.com, ravishankar.srivatsa@intel.com, Sathish Narasimman Subject: [Bluez PATCH v1] btmgmt: Fix enable adding irk when turining privacy on. Date: Tue, 4 May 2021 15:38:35 +0530 Message-Id: <20210504100835.29468-1-sathish.narasimman@intel.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Unable to add the IRK in btmgmt when need to be updated. The option is enabled now. Signed-off-by: Sathish Narasimman --- tools/btmgmt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/btmgmt.c b/tools/btmgmt.c index 02fec1dca184..bf3b460d0f04 100644 --- a/tools/btmgmt.c +++ b/tools/btmgmt.c @@ -5277,7 +5277,7 @@ static const struct bt_shell_menu main_menu = { cmd_advertising, "Toggle LE advertising", }, { "bredr", "", cmd_bredr, "Toggle BR/EDR support", }, - { "privacy", "", + { "privacy", " [irk]", cmd_privacy, "Toggle privacy support" }, { "class", " ", cmd_class, "Set device major/minor class" },