From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B3474C433EF for ; Thu, 14 Jul 2022 22:42:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240845AbiGNWm0 (ORCPT ); Thu, 14 Jul 2022 18:42:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51760 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240907AbiGNWmV (ORCPT ); Thu, 14 Jul 2022 18:42:21 -0400 Received: from smtp.github.com (out-21.smtp.github.com [192.30.252.204]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B62CA72EDA for ; Thu, 14 Jul 2022 15:42:20 -0700 (PDT) Received: from github.com (hubbernetes-node-3a9f456.ac4-iad.github.net [10.52.201.38]) by smtp.github.com (Postfix) with ESMTPA id 25BE25200AC for ; Thu, 14 Jul 2022 15:42:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1657838540; bh=XjGkV7Hz3vV/wkID+Ns6q653iaZLUnJXhNtMkIiyxug=; h=Date:From:To:Subject:From; b=CB3oZJvnLGVKUXlVhp6C44I8aNScypPYiN1mPcf1ne/h4XYXgoNtCkYi8j7MutjDW AbiM8FNeYXJh6LlVUuJxTuBBWPeUvqIVlWRsP8nUQZyiS8JpX5yX67LRO4Gvg4mC/H juxhR1MY0NqMKgmZ1sfwEgO1+C8ZPtGlaakW2VWE= Date: Thu, 14 Jul 2022 15:42:20 -0700 From: Luiz Augusto von Dentz To: linux-bluetooth@vger.kernel.org Message-ID: Subject: [bluez/bluez] af998f: main: Default device_privacy to true Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-GitHub-Recipient-Address: linux-bluetooth@vger.kernel.org X-Auto-Response-Suppress: All Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Branch: refs/heads/master Home: https://github.com/bluez/bluez Commit: af998fd32c34f739002865b7288183e006c2ef53 https://github.com/bluez/bluez/commit/af998fd32c34f739002865b7288183e006c2ef53 Author: Luiz Augusto von Dentz Date: 2022-07-13 (Wed, 13 Jul 2022) Changed paths: M src/main.c Log Message: ----------- main: Default device_privacy to true If privacy mode is not strictly set to network set it to device otherwise network mode would prevent reconnections if the the identity address is used: BLUETOOTH CORE SPECIFICATION Version 5.3 | Vol 6, Part B page 2837-2838 'The Host specifies the privacy mode to be used with each peer identity on the resolving list. If it specifies that device privacy mode is to be used, then the Controller shall accept both the peer's device Identity Address and a resolvable private address generated by the peer device using its distributed IRK. Otherwise, network privacy mode is used: the Controller shall only accept resolvable private addresses generated by the peer device using its distributed IRK.'