Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp3463428pxy; Tue, 4 May 2021 02:53:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwUFUW1yeNpBxgxb763VHx2DH//gM4/EwZ5Zfy4ZJ5G2iLYe8g8IA3k3zZKXuBUDGd7w2GC X-Received: by 2002:a17:90b:31cc:: with SMTP id jv12mr4080294pjb.105.1620122003856; Tue, 04 May 2021 02:53:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620122003; cv=none; d=google.com; s=arc-20160816; b=Lv615QogE7sWJGb5E9SHHn35vK/4rlYumOqN3HCOe4qwkqvo77NxyWwg/eCAFKw1AY lHryPR42cb+1GPRkJzYPEEsBvMQBan1XpdIiT52/6ajRn5PvpYgjldELXaQ9XO4tKtCH ZJhILBNzhNvK2nTJL4kNU0ceFIr1TvFyyUaiUeHwGou+MgEj5enLplNOMUR7rMwbCOli ou8bOnN/qPUCv7p3zmkB0YoYDv0v7Nn6DCa5Br3nTS7grTXTKIpiX36wwT1OaMQ7D4s/ 3DpNerdPIPHV1puAXpSDaOcq0ilccZAqbMHOWFdYlJwNJWLSBI18hJtvuTa/h6OiK7kq Ahkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from:ironport-sdr :ironport-sdr; bh=8nIK9cm3xPgTBUJkLhbpY2xlhZhG5YVmJF+UTIuEDAw=; b=BcDLdNEiJUP+b3slnzHDm1tpC7YAe5J6KaUo47eDwk95aNkXjvnXO359ihRcCUGnJi OcQCdV/AHb4KQ7aPxPwJtH9bR/O8FYlmTtStUh4/LZUJFCgveZs9kDXdlLvwCc4R8zzZ b9ck3e/kTCUmUKVpPKyuorpaFbnl9+Ib4JVownrlUqd4bC3wdquoT9oN1kDbYiXtC7IA nl8bmt1qXktdJ/6mvllCsIeWk7npiBW0Ykva0oT3KIsKLE+sKH2EYAxKZQIUQEHlQauo muRZRWA170z+IX7DJEaQgRJBo9pdb+h9UFVi2Id8bSa8Mr/lW1RmsAEE1K1u3dt8SySS jz5A== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v10si17957552pjc.45.2021.05.04.02.52.53; Tue, 04 May 2021 02:53:23 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230141AbhEDJvh (ORCPT + 99 others); Tue, 4 May 2021 05:51:37 -0400 Received: from mga14.intel.com ([192.55.52.115]:14685 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230089AbhEDJvg (ORCPT ); Tue, 4 May 2021 05:51:36 -0400 IronPort-SDR: xRROuAbED/l+0FOZQydciOXSAkljZyh4lkTD/BiSW1OLNimVBTMaVd6CY7kWjO4SlPphsthxSj +uf43PQWTtAw== X-IronPort-AV: E=McAfee;i="6200,9189,9973"; a="197557524" X-IronPort-AV: E=Sophos;i="5.82,272,1613462400"; d="scan'208";a="197557524" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 May 2021 02:50:42 -0700 IronPort-SDR: rL4skt6U0SxG52HJP1MC+uW90TOX3BYKo33KE0Yvwm3k5r2oI1J3o32I/7AihWna700I0vrHAv A9/gO8FWFJjw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,272,1613462400"; d="scan'208";a="463088572" Received: from nsathish-latitude-7480.iind.intel.com ([10.224.186.105]) by fmsmga002.fm.intel.com with ESMTP; 04 May 2021 02:50:40 -0700 From: Sathish Narasimman To: linux-bluetooth@vger.kernel.org Cc: chethan.tumkur.narayan@intel.com, ravishankar.srivatsa@intel.com, Sathish Narasimman Subject: [PATCH] btmgmt: Fix enable adding irk when turining privacy on. Date: Tue, 4 May 2021 15:29:27 +0530 Message-Id: <20210504095927.29393-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" }, -- 2.17.1