Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3171089pxb; Mon, 9 Nov 2020 04:42:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJw51LgJX3OM68ctF7Y41F201jV9n582/xvgoyDyA1UUGfqdiBSO9++Tg9/7PiIuG/KHx4rv X-Received: by 2002:a50:af21:: with SMTP id g30mr14730983edd.46.1604925769888; Mon, 09 Nov 2020 04:42:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604925769; cv=none; d=google.com; s=arc-20160816; b=CkcDEpP0FE32VUnHLy6qAQwU5YJj9QOf2YvpHz6ZfBeTSN23OMaG1fLBFgWQfeW9nP ubmmhynHhsUH9WjyPnPRvxaSqpINcNhJ+2mWi4K+PrBRcMTTk10+nNKWEVkOyVpDbXoC pjccgEH/7LIeEFv15305kULUsOIsGhH5QnrMFnaqLhXOZS7b+jw1fFvfh2/VR5lyEqad rhuY6UgjusFUkqcd0WXi7nqFxyEyVaqxZ9LzzBe8XpnRKiqHqXZtBAR3q7VnC6QN8UP/ jZYB798uyCgtviVKaXJNmnkwquF5tFEbFmJww+VF3umq0a2A2PH1B4legK/WWIsnaly5 70BQ== 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=bRqOTWfWkCWRXRJ/9usB+lTQAurD/Q8pDgYdNpIBYJs=; b=gxiw6SCvtvvpSTRNjY5MimkmFqGXTKJRtF+tj5doLs/x5a9uPduoKDeSGC94IjjR80 Eozo0rLRTxTK8AquQvnskI5BQ1+HfomYFb1FDcqCleIbV3Q5QXUTpcdkizzVF8YiYnUf U30uIvKAY+vwv8gE8AFgxsolYjdaKP/Z8NOUDqWr2pBy5/t31s+1M+epLLJOzxg0Tn/X 1lDbMlPLUzR1DGkNPaEAxGHZNT/0/iStXC/9oRgW8tv6OVGILbYIPSPDGCJYzFmtvq+A MuWnQsqojCqesOuR1I+BNQMoDATLw4DJIKdtvxS/OMgeWSlH4XezSpEJit2Wyq8F9p9h uwaw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bi24si7371286edb.452.2020.11.09.04.42.26; Mon, 09 Nov 2020 04:42:49 -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; 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 S1727303AbgKIMlM convert rfc822-to-8bit (ORCPT + 99 others); Mon, 9 Nov 2020 07:41:12 -0500 Received: from coyote.holtmann.net ([212.227.132.17]:37019 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727077AbgKIMlM (ORCPT ); Mon, 9 Nov 2020 07:41:12 -0500 Received: from marcel-macbook.fritz.box (p4fefcf0f.dip0.t-ipconnect.de [79.239.207.15]) by mail.holtmann.org (Postfix) with ESMTPSA id 20CDBCECC5; Mon, 9 Nov 2020 13:48:19 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: [PATCH] Bluetooth: Fix: LL PRivacy BLE device fails to connect From: Marcel Holtmann In-Reply-To: <20201029074821.29950-1-sathish.narasimman@intel.com> Date: Mon, 9 Nov 2020 13:41:10 +0100 Cc: "open list:BLUETOOTH DRIVERS" , Chethan T N , "Srivatsa, Ravishankar" , kiran.k@intel.com, Sathish Narasimman Content-Transfer-Encoding: 8BIT Message-Id: <4DB44FB6-A6F3-4FBE-A16D-EE3FCB1A6F65@holtmann.org> References: <20201029074821.29950-1-sathish.narasimman@intel.com> To: Sathish Narasimman X-Mailer: Apple Mail (2.3608.120.23.2.4) Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org 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. Regards Marcel