Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1751418ybi; Sun, 30 Jun 2019 23:22:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqxYw6ruSX1srUKfbMe3+sRqT1Fg0ibtjGo5tLtC3O//+R5qc7e3KrT2eUO2to6YktcIQYt9 X-Received: by 2002:a63:62c3:: with SMTP id w186mr23864657pgb.64.1561962121149; Sun, 30 Jun 2019 23:22:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561962121; cv=none; d=google.com; s=arc-20160816; b=CfoS1KCQX8Zxbld1wgkt1y+pM3JtoAD5yporKqNu3bDVagDfSTN95zfw3uR2aJYNYB KQyt50g7bs4Z8waQSnqiYMz1PLT69sXDXJs4zpykyL2+MZIf3AJjs9sUIoj1+2Nyj9wI t7lES6jYURwrj9jzUIKHVShIwsYSaDX8Sh0sHq7h8XQlgIL0SvXmd08/8EzFgagB7Aal csjHDuFPzLEA/UVQcfCA3Dvm5ASnmrMORqTO5+Yum4pgNjVs5FZ2/uNFL67sHcgQXomr HDXH9F30ryWk3Y/aqht+GGwKKExtSazGHP1iwg/N6ZbfR5Kq4h7VOx7zTw1eMmG4UKQy 8CZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from; bh=PeSDaAeBga1mpwkakgoFQVW4JL/UVv3uY5rgYaZU5wM=; b=0TdXvhdZVYQkieXjBfkox+1C0r/OCyz4lrcPL4cNUydS4RiUsSSDMnbpDPB0jyPgJ8 Kjkc/Zl4VSYZfJVScjzx+w+UMTVtBR8Djhk06npzjOZtEZeL6i74cn9eA/7b/p1hmOov GciFKjsU2NyXfGnx0cnyftl0QsrVYoK7zXZsrnSUviQODktA0Z9ZseY68VJ274R+YHO6 9Y4bBvMPVAc1SzjEm3GjCpCD+2E5Uw9likh6qxqy+3115n4IAeEKKtCXu1kAeuU02nAM H5nkr0WLSgiHaBov9tJuRKfrOm7XZhf8TnBJXPIol1A8IvGd9qsz2DPoQo4c77vM5grd tVMw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f89si10342703pje.50.2019.06.30.23.21.30; Sun, 30 Jun 2019 23:22:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726652AbfGAGHl (ORCPT + 99 others); Mon, 1 Jul 2019 02:07:41 -0400 Received: from mga12.intel.com ([192.55.52.136]:36153 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726651AbfGAGHl (ORCPT ); Mon, 1 Jul 2019 02:07:41 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Jun 2019 23:07:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,437,1557212400"; d="p7s'?scan'208";a="165719694" Received: from orsmsx107.amr.corp.intel.com ([10.22.240.5]) by orsmga003.jf.intel.com with ESMTP; 30 Jun 2019 23:07:40 -0700 Received: from orsmsx162.amr.corp.intel.com (10.22.240.85) by ORSMSX107.amr.corp.intel.com (10.22.240.5) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 30 Jun 2019 23:07:40 -0700 Received: from orsmsx103.amr.corp.intel.com ([169.254.5.135]) by ORSMSX162.amr.corp.intel.com ([169.254.3.80]) with mapi id 14.03.0439.000; Sun, 30 Jun 2019 23:07:40 -0700 From: "Stotland, Inga" To: "michal.lowas-rzechonek@silvair.com" , "Gix, Brian" CC: "linux-bluetooth@vger.kernel.org" Subject: Re: [PATCH BlueZ 1/2] mesh: Fix D-Bus node path Thread-Topic: [PATCH BlueZ 1/2] mesh: Fix D-Bus node path Thread-Index: AQHVLYtcGxmSKWzEUEeQyKEb+Bl1Gaa1wNMA Date: Mon, 1 Jul 2019 06:07:38 +0000 Message-ID: References: <20190628082734.18809-1-michal.lowas-rzechonek@silvair.com> In-Reply-To: <20190628082734.18809-1-michal.lowas-rzechonek@silvair.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-originating-ip: [10.254.183.76] Content-Type: multipart/signed; micalg=sha-1; protocol="application/x-pkcs7-signature"; boundary="=-9uuXa0AOQKlx5QAsAj4i" MIME-Version: 1.0 Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org --=-9uuXa0AOQKlx5QAsAj4i Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Michal, On Fri, 2019-06-28 at 10:27 +0200, Micha=C5=82 Lowas-Rzechonek wrote: > According to doc/mesh-api.txt, node object should be located at > /org/bluez/mesh/node. > --- > mesh/node.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >=20 > diff --git a/mesh/node.c b/mesh/node.c > index c2feaee52..45383b7d5 100644 > --- a/mesh/node.c > +++ b/mesh/node.c > @@ -47,7 +47,6 @@ > #define MIN_COMP_SIZE 14 > =20 > #define MESH_NODE_PATH_PREFIX "/node" > -#define MESH_ELEMENT_PATH_PREFIX "/ele" > =20 > /* Default values for a new locally created node */ > #define DEFAULT_NEW_UNICAST 0x0001 > @@ -1021,7 +1020,8 @@ static bool register_node_object(struct > mesh_node *node) > if (!hex2str(node->uuid, sizeof(node->uuid), uuid, > sizeof(uuid))) > return false; > =20 > - node->path =3D l_strdup_printf(MESH_NODE_PATH_PREFIX "%s", uuid); > + node->path =3D l_strdup_printf(BLUEZ_MESH_PATH > MESH_NODE_PATH_PREFIX > + "%s", > uuid); > =20 > if (!l_dbus_object_add_interface(dbus_get_bus(), node->path, > MESH_NODE_INTERFACE, node)) Good catch. Brian, coud you please apply? Thanks, Inga --=-9uuXa0AOQKlx5QAsAj4i Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Disposition: attachment; filename="smime.p7s" Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIKbDCCBOsw ggPToAMCAQICEDabxALowUBS+21KC0JI8fcwDQYJKoZIhvcNAQEFBQAwbzELMAkGA1UEBhMCU0Ux FDASBgNVBAoTC0FkZFRydXN0IEFCMSYwJAYDVQQLEx1BZGRUcnVzdCBFeHRlcm5hbCBUVFAgTmV0 d29yazEiMCAGA1UEAxMZQWRkVHJ1c3QgRXh0ZXJuYWwgQ0EgUm9vdDAeFw0xMzEyMTEwMDAwMDBa Fw0yMDA1MzAxMDQ4MzhaMHkxCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEUMBIGA1UEBxMLU2Fu dGEgQ2xhcmExGjAYBgNVBAoTEUludGVsIENvcnBvcmF0aW9uMSswKQYDVQQDEyJJbnRlbCBFeHRl cm5hbCBCYXNpYyBJc3N1aW5nIENBIDRCMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA yzuW/y/g0bznz8BD48M94luFzqHaqY9yGN9H/W0J7hOVBpl0rTQJ6kZ7z7hyDb9kf2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