Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp3955569pxb; Mon, 27 Sep 2021 06:27:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxSoUGH81lO2+K8zbN7L94ahgiOkGPBqA3J/mmI8TLT9xp7RsdmBLv6483n/hT3QCkWR/xm X-Received: by 2002:a17:90b:180f:: with SMTP id lw15mr20154705pjb.210.1632749252239; Mon, 27 Sep 2021 06:27:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632749252; cv=none; d=google.com; s=arc-20160816; b=hNcoHQeJOt6Sj5GZ9UIK/o62MDV2tjtn2ZHkt4GlZCi910SAbmzN55iHNFqVbyZIol ndH30jET47piQYFI77enI7S+ZLvn0cqJNYIte1esTguL1eQG8AU0GrO5fAdt34Cb4n4b 6oU9uXwasHjklmWbhFIURUD+SDlkFrnaTVcq+iRg/wBaXZE8anQcCfx0pEZ8Iqpu8Tr+ F7JhSxSkKQLIylRSlEy5hBPawMCr2nEL5TY0KpdGaWNvNMzz7GXp4+Jph9M9M1Hueda4 Lrma4u9t1YIk+tkXYIdIZHDw+JcCtCQyNGsl9kMx1OC2LLRovv10EzKk0KhnHqWfzTA7 rVsA== 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=x/b3+mAR9/U9KUsU/SbJpS7Fq3943Nyp6Ak/TMguRFU=; b=nxk1KTyvROWv4mkouXZf6F2Zk/ubGJ0ck8EHmShOcNbixUjjfp8lYMM4/AzndP+myI DjgoQbrr6wgD8SxBTAn2ts6I8P7ltQIahirDQ+NJ5T/cHfT6Z+HyGj++v1pOSP2gZEII jZNF8Sh3diuvI4NyMk7hz5Icw2lc4UWqIevKHY1dVDs4FoxOm6/W8PCEgopr5oChM3Sm 2UfeW7Dj0yMg5HyPLCHVHFigCHvYQbHN8YXOts+Qte4hATFv/IGqrybsznDdG2wiDzXq tWeWNn9CT3cnN67A1vc/mZ92uQanXOqoN5d6H65hSDjxHVNolV2DXZOdUnlN/8HiyiTG lqVQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 19si20441751pll.216.2021.09.27.06.27.15; Mon, 27 Sep 2021 06:27:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234503AbhI0N0k (ORCPT + 99 others); Mon, 27 Sep 2021 09:26:40 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:44588 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234058AbhI0N0j (ORCPT ); Mon, 27 Sep 2021 09:26:39 -0400 Received: from smtpclient.apple (p5b3d2185.dip0.t-ipconnect.de [91.61.33.133]) by mail.holtmann.org (Postfix) with ESMTPSA id DBD8ECECC4; Mon, 27 Sep 2021 15:24:58 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: [PATCH v1] Bluetooth: Fix wrong opcode when LL privacy enabled From: Marcel Holtmann In-Reply-To: <20210927195737.v1.1.Id56e280fc8cac32561e3ea49df34308d26d559c9@changeid> Date: Mon, 27 Sep 2021 15:24:57 +0200 Cc: linux-bluetooth , Yun-Hao Chung , "David S. Miller" , Jakub Kicinski , Johan Hedberg , Luiz Augusto von Dentz , open list , netdev@vger.kernel.org Content-Transfer-Encoding: 7bit Message-Id: References: <20210927195737.v1.1.Id56e280fc8cac32561e3ea49df34308d26d559c9@changeid> To: Howard Chung X-Mailer: Apple Mail (2.3654.120.0.1.13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Howard, > The returned opcode of command status of remove_adv is > wrong when LL privacy is enabled. > > Signed-off-by: Yun-Hao Chung > --- > Test with following steps: > 1. btmgmt --index 0 > 2. [btmgmt] power off; [btmgmt] exp-privacy on; [btmgmt] power on > 3. [btmgmt] rm-adv 1 > 4. Check if the 'Not supported' message is present in terminal > > net/bluetooth/mgmt.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) patch has been applied to bluetooth-next tree. Regards Marcel