Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp2721388imn; Tue, 2 Aug 2022 13:28:32 -0700 (PDT) X-Google-Smtp-Source: AA6agR7fF4+5oNWsFbu7uLmtMyrNUE7TL53Cs4s64H9keTugZxOLaWueDeOeJfB7nJVLerTnHjaD X-Received: by 2002:a63:6403:0:b0:41c:1e77:863d with SMTP id y3-20020a636403000000b0041c1e77863dmr8859866pgb.13.1659472112109; Tue, 02 Aug 2022 13:28:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659472112; cv=none; d=google.com; s=arc-20160816; b=Q/1yeieNK29YTga9sfwlPi27P/2h7YVMgdTjAmQKKKw2wLgDXGJw1jTzLFiDHTM2UD WxJVUecZK7Jv5vf1I1mBo16oqdfiT9P7FmiO2M6SujLzNgRMA73oxzCHqlzUhY4F3i9T aRfDdePMBePKxqhxmOh/vktqpZ8dTQx1ps+RNIf8i7DH6wBGu4rQBZ6Yz78bhVNoyJML yjq5o/U/qYbcsJAx8g3uXBcazr3Km5GlrpyRqoAdHKlMDPpt3G2T5AFhV730ynEptaOj 9X65G7c4Lkdw1O6NzCnIC67BgMdKGukSDZx0LymI4ZMgkXrub68BIu3MMKsA8E1rwsHU GMRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:subject :message-id:to:from:date:dkim-signature; bh=1+MxAs0gN739rFgC3torh3WceWuRwAMxn0CwvITApXM=; b=iyYOp8svZTejIelKlGLb51TafCJbbx0S7JqUd/ned5PcEvO3yVHDrZ2i0VPYQayzq3 W9oa7mRBMhwBo1J4b6OOUrcnaQYjYAFX5G96Y+oHYWUHKdKOnEcKXFc+J3atJPcaNlBI zB3o7FkQqsBxkqZIq7grm/Znxm6V4fRHzLFndYJhSUZfEMsLsi//4dNEsY3uy+13G3GR Md6eyP4yoCtTJkpCzY5O0geStfTvSFOfkPGfh3ZAxA/ZEJqA5fO3r14nYl4Kdb3vbyo5 NGsK0tWdGKDoPQ/QuIzB9YGB/HEkPYasYIikeQanbBoWRtmqpJEltPqMVyxhZnzemDJM FqwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@github.com header.s=pf2014 header.b=SHEL8whK; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=github.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y8-20020a17090322c800b0016a629e2f40si366263plg.161.2022.08.02.13.27.45; Tue, 02 Aug 2022 13:28:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@github.com header.s=pf2014 header.b=SHEL8whK; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=github.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230060AbiHBUXM (ORCPT + 99 others); Tue, 2 Aug 2022 16:23:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60420 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229663AbiHBUXL (ORCPT ); Tue, 2 Aug 2022 16:23:11 -0400 Received: from out-27.smtp.github.com (out-27.smtp.github.com [192.30.252.210]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DEBA71928E for ; Tue, 2 Aug 2022 13:23:10 -0700 (PDT) Received: from github.com (hubbernetes-node-5cb4fca.ash1-iad.github.net [10.56.14.60]) by smtp.github.com (Postfix) with ESMTPA id 438BB900858 for ; Tue, 2 Aug 2022 13:23:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1659471790; bh=1+MxAs0gN739rFgC3torh3WceWuRwAMxn0CwvITApXM=; h=Date:From:To:Subject:From; b=SHEL8whK3MhEx8cJGF5ThNnercSRZNLAjqVEp2bEUlRMDsHZQtedRRGmtXryUGEzz ZrtenUMibikbCOZy1JCuLWlzmLsC/p2rBIkWbh8+tiSSqZM0JzkuuS0JfBgoat6eDK g0Ia8lxXEaB1LoGxwo8LytYPOq/eyAX2AFNPuHhA= Date: Tue, 02 Aug 2022 13:23:10 -0700 From: Luiz Augusto von Dentz To: linux-bluetooth@vger.kernel.org Message-ID: Subject: [bluez/bluez] d06b4a: device: Fix not auto-connecting profile 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 X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Branch: refs/heads/master Home: https://github.com/bluez/bluez Commit: d06b4a6b74d4da0b997c981e1d506bf051f1a84d https://github.com/bluez/bluez/commit/d06b4a6b74d4da0b997c981e1d506bf051f1a84d Author: Luiz Augusto von Dentz Date: 2022-08-01 (Mon, 01 Aug 2022) Changed paths: M src/device.c Log Message: ----------- device: Fix not auto-connecting profile If the profile is registered and marked to auto-connect it shall automatically be connected whenever a device is already connected. Fixes: https://github.com/bluez/bluez/issues/370 Commit: 7adb3aa7efc3d70381c411c031f579ff63786994 https://github.com/bluez/bluez/commit/7adb3aa7efc3d70381c411c031f579ff63786994 Author: Luiz Augusto von Dentz Date: 2022-08-02 (Tue, 02 Aug 2022) Changed paths: M src/adapter.c M src/device.c M src/device.h M src/gatt-database.c Log Message: ----------- device: Add btd_ prefix to device_is_trusted This adds btd_ prefix to device_is_trusted so it can be used by plugins. Commit: a65ddf710584f2b3dad04fb5e3d725ba340ea1ef https://github.com/bluez/bluez/commit/a65ddf710584f2b3dad04fb5e3d725ba340ea1ef Author: Luiz Augusto von Dentz Date: 2022-08-02 (Tue, 02 Aug 2022) Changed paths: M plugins/sixaxis.c M src/device.c M src/device.h Log Message: ----------- sixaxis: Fix fliping device.trusted automatically device.trusted is a user preference which controls if the devices needs to be authorized or not so the plugin shall not overwrite it and instead just honor what user has set and skip authorizing if already trusted. Fixes: https://github.com/bluez/bluez/issues/372 Compare: https://github.com/bluez/bluez/compare/cb42377ae002...a65ddf710584