Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp7916348pxu; Sat, 26 Dec 2020 09:06:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJwCOTCH8LdQcfps7NyrRz6DxI5JnLN8LEKJ4Vk9i6NZIvGH1PqJoMoK7489bv5uGb+uEP32 X-Received: by 2002:a17:907:2116:: with SMTP id qn22mr35376397ejb.483.1609002387127; Sat, 26 Dec 2020 09:06:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609002387; cv=none; d=google.com; s=arc-20160816; b=m2LRYkeqd5iV8tOLTydAkoGN/SwPgbpVQNzS2g4QuSx7pjykB1eil3yuClIgZq1k+V uUkx2/hV0nmT35PQ/DMWJHDLDGVgfPiKRSUsZ9T7zJ6QDl4A2VcMeR3A2uDUjfSUaQFN DlCtF9rsfzjB37SpQwy1zsxWlajvk3OjTaVNbRaq5VKFmTDwchYd/4X2cVKHjOZclBvm OmY2DuhPKlSmeDcmO9lBE1LHFHCoVqgR/255KW51IGXoPmnJgsSCrJLRS+txNz+Z3vc2 w1+ebmGp6xLx6FB2nXXdVhh39HZqGwmm896Dgt/8Ex46PKG7prURXo6xbACdrxHqjtPi WtWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:in-reply-to:subject :cc:to:from:dkim-signature:dkim-signature; bh=Wk7w/LOenIlqgCk2A0cOuidIJR20iwpgcOHpT2mv8+k=; b=OZFi2F2LcNZuL5hDQXHNOp969vydReHn2MMDYKfKhVY4dzeDJWckVxrHYHTPC1qRz+ gaUJqRXbhyxFr4dYdaGMbxV6t6V9BVP03txr6wO7WW1dY7hk25PC7kWROBd88ESYPi+5 7HdLHq1O+DL+S9bp7y4nBhV76BrRzPxGPbOZvM3rC/dbbbBd0gqCPluGuVyFsnz8L5ui vgvpK+Knlq77ny52GRWP9OvcAg1M1/9nmzYPmk48fbuv4pNsc0Sav7bZJ822CIsXv4T8 U1xM0rg5BeDbyXAHNp2a12y0mGeBA5nz2cbfmhjhHRE90ke+1Su5WUiqqQTzmmmTR/lZ weww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kanru.info header.s=fm2 header.b=W432qRdJ; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=lUXwKGKa; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p11si16003952eja.213.2020.12.26.09.05.49; Sat, 26 Dec 2020 09:06:27 -0800 (PST) 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=@kanru.info header.s=fm2 header.b=W432qRdJ; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=lUXwKGKa; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726176AbgLZRDp (ORCPT + 99 others); Sat, 26 Dec 2020 12:03:45 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:38237 "EHLO out3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726175AbgLZRDp (ORCPT ); Sat, 26 Dec 2020 12:03:45 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 0E7935C00BA for ; Sat, 26 Dec 2020 12:02:39 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Sat, 26 Dec 2020 12:02:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kanru.info; h= from:to:cc:subject:in-reply-to:date:message-id:mime-version :content-type; s=fm2; bh=Wk7w/LOenIlqgCk2A0cOuidIJR20iwpgcOHpT2m v8+k=; b=W432qRdJPJSuFMKF6mnOPk/tbAB1H3iRsx3mTvh0bIgDMMufwB+WZlc zV5OtChlKF+TOHwof67bIab3afl/iu87vdGXFuwhvjBxKZPnpBhzqeiA/vOjeGuu EfZMpwS+elKw9DGH2cZQJjNSlr5TBweX9YIz/kdX3Y9PmiIRvyr5q9/5myPihnzV l553SFkIhBao7RxKiw6xDYTo0tgJB3yTfwUBVturIdeny+zlT4e/lpqnNFrwLAet bYtFNwiyK2HjrkvnL04JHLQtGUEIUXcDFXJwpURFcrZs9XQdcQ7FiU9kORUqJ+AR RX1b6oNVmHemIQn+REKxttu7DIqq9sA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=Wk7w/LOenIlqgCk2A 0cOuidIJR20iwpgcOHpT2mv8+k=; b=lUXwKGKaXsODHhMQt/cTekmk37qp3ENMp F4Xbtlo4s4JdyI/IIv0PGHYivHAkK8Oa7dRvPjRP9Bgv+n89FzAKK60a8DWGsraM omztbLEVDNPPkoJ83uVhoSOzk4CURs+7RzoSq7pHMt5Y6t8Td6dkloEsT78d0Ecf LqsOnV5Z0O13+612DqZ25S5DYWaTlQKkXpbaf215jlYitmAAGbthf7zh9o4o9n+8 TodNs1m7shzO17/p1/lqwBRWV46I9+Vz2aOU3qqxhj1uKuhwTs+np3ZyURhrgDSF nPpeTKf/JIpYKvURXfg1CG+QZ6GQwDA12DgddnrnaQszvCRb1yHmw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrvdduhedgjeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufgjfffkgggtsehttdertddttddtnecuhfhrohhmpefmrghnqdftuhcu vehhvghnuceokhgrnhhruheskhgrnhhruhdrihhnfhhoqeenucggtffrrghtthgvrhhnpe eiffejtdejvdetteeihfeuleekfffgtefhledtveefudevudeigeetgeeljeelheenucff ohhmrghinhepkhgvrhhnvghlrdhorhhgnecukfhppedvvddurddvgeeirddvvdeirdefie enucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehkrghn rhhusehkrghnrhhurdhinhhfoh X-ME-Proxy: Received: from shinagawa (221x246x226x36.ap221.ftth.ucom.ne.jp [221.246.226.36]) by mail.messagingengine.com (Postfix) with ESMTPA id 1444B108005F for ; Sat, 26 Dec 2020 12:02:37 -0500 (EST) Received: from kanru (uid 1000) (envelope-from kanru@kanru.info) id ae475c by shinagawa (DragonFly Mail Agent v0.12); Sun, 27 Dec 2020 02:02:34 +0900 From: Kan-Ru Chen To: Marcel Holtmann Cc: nsathish41@gmail.com, linux-bluetooth@vger.kernel.org, chethan.tumkur.narayan@intel.com, ravishankar.srivatsa@intel.com, kiran.k@intel.com, sathish.narasimman@intel.com Subject: Re: [PATCH] Bluetooth: Fix: LL PRivacy BLE device fails to connect In-Reply-To: <4DB44FB6-A6F3-4FBE-A16D-EE3FCB1A6F65@holtmann.org> (message from Marcel Holtmann on Mon, 9 Nov 2020 13:41:10 +0100) Date: Sun, 27 Dec 2020 02:02:34 +0900 Message-ID: <87mty0bivp.fsf@shinagawa> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi, Marcel Holtmann writes: > Hi Sathish, > >> When adding device to white list the device is added to resolving list >> also. It has to be added only when HCI_ENABLE_LL_PRIVACY flag is set. >> HCI_ENABLE_LL_PRIVACY flag has to be tested before adding/deleting devices >> to resolving list. use_ll_privacy macro is used only to check if controller >> supports LL_Privacy. >> >> https://bugzilla.kernel.org/show_bug.cgi?id=209745 >> >> Fixes: 0eee35bdfa3b ("Bluetooth: Update resolving list when updating whitelist") >> >> Signed-off-by: Sathish Narasimman >> --- >> net/bluetooth/hci_request.c | 12 ++++++++---- >> 1 file changed, 8 insertions(+), 4 deletions(-) > > patch has been applied to bluetooth-next tree. Can we also apply this patch to the 5.10 stable tree? Thanks, Kanru