Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5692416ybl; Tue, 10 Dec 2019 09:57:41 -0800 (PST) X-Google-Smtp-Source: APXvYqxhVjjF1Ybc+LdZj4L9W0SOBwaObTUG9l4s3K/nPu3RMV6zn/ZnKSXDO798VP80xL61YL75 X-Received: by 2002:a9d:27c4:: with SMTP id c62mr27401775otb.292.1576000661663; Tue, 10 Dec 2019 09:57:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1576000661; cv=pass; d=google.com; s=arc-20160816; b=FZZ/qbneVSOCaFautvOQ3Wjuzm9XrIHIqs9qm/9g+FzjB8AmcgFmt8mkvYqr1YLqX0 jKfIL5NatUhuWpcsNwEDA5bydePAX7AUPDz8gfLnSTINCeUW111lL/tuaAmU14DeBVfP YdXeWodknk+22v15zBDQNlTye2P9MdZ3T/F8NGoAhLaY7Y3scaiUwA2j7L/8ny+f+6dx /7GkwW+xZBRn/+BYP70HAQY+DmeCny0JxFkr56sH6sXBiiGccKEFUgQfqpbAORYYS3nD 2+gWRPMuPs30m1fQeiFjrc1N5bH08HQEDnOHOMtAxjgMRRsOGfU8h5pn8oiGavW2xmQ0 qMdA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:to:from :dkim-signature; bh=xvQ+DcZuGSX815soawOzu3lK/qjT7ogk8rK+OOwrb+o=; b=kHOQRXzPIJDb/t9pUp3fMRsZMgFix6cyWSLvuXVg6AtgxLrupaeZMx9/DhCQyFNOzN U4u2M6ajh81NFLhJ3jGLSR5itoqSFW01/1Qkp9IxvbG/o//CrSc7zcFZYvFx/ZzzE9+9 UokKPvHiwEZB5xZ53TdXvfM1ruWPyuGQ722KdksEMChkHXdxMQUWbxOX1Cf/Ylkl5yH/ a5ctgaBfLgUQweo8G7RHPQ/w3aOn6MYJGTABed3Szmd+pEeg1YPTdJjdM5kPcYYFjTHP UNEcmaCx7z4dyUYk4YR9JscluLTbIimH5t8QYcFEb4HXhdAV+2rS8oK5BdR/cbFkOl9H etLQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=guFKEyzz; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.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 q9si1985378oif.92.2019.12.10.09.57.23; Tue, 10 Dec 2019 09:57:41 -0800 (PST) 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; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=guFKEyzz; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.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 S1727349AbfLJR5C (ORCPT + 99 others); Tue, 10 Dec 2019 12:57:02 -0500 Received: from mga05.intel.com ([192.55.52.43]:1666 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727329AbfLJR5C (ORCPT ); Tue, 10 Dec 2019 12:57:02 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Dec 2019 09:56:59 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,300,1571727600"; d="scan'208";a="225228193" Received: from orsmsx108.amr.corp.intel.com ([10.22.240.6]) by orsmga002.jf.intel.com with ESMTP; 10 Dec 2019 09:56:59 -0800 Received: from ORSEDG001.ED.cps.intel.com (10.7.248.4) by ORSMSX108.amr.corp.intel.com (10.22.240.6) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 10 Dec 2019 09:56:59 -0800 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.47) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 10 Dec 2019 09:56:58 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jU2rk3pM1mlfj2MIXHq9XifkNKm5fAjsI2AYdrgLvKYEcWMGLV8xW3qR8HV4XRZHqUYW2Z1ePacxrYfovjyH86Ko4jvHHlRPR8gZeM8i+RsjUgTf5sEGHmPSWzUr+0G2WfcIJefFPRkchPwrkGTrnK+5WPY69gMiQuMq1HBpcpHnRDwkQKzI9WzsQbt/6ok9ORALM75olYA5vv2NhyFLGEvdxVDF2Zi37jF253fBxoE3WyqDVc7XpVtRcwI4iTH7po/fOzMPvlMqv02ok8OSYkq3whEt5eyZg2u/qWBo3IPWeckvetgwt11rw+PUHa8xkf/KNVKouOS5OLa6zDxUGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=xvQ+DcZuGSX815soawOzu3lK/qjT7ogk8rK+OOwrb+o=; b=CB7KThk46iCNfFb70Sd0pUkPIQuixt9DaEU9f235s0md/0c3ELME9WmgLMonGuVxd7Hi6OIotNL9ey+YNQLzWnqZe/QDZsj+SDqJuvJZYbTSGxZ+8qLeKUQVMiEyK2YgZthUsqSjddtgj12fierBPBydiI7lTTkQuqfC/P8VrbL43wOHP/9SQKPckjd8RvwPdJefBEoRC9SYlJ1Bsbe0UxWclHpPpR2K2tE0TDbWHyDOwIKxAlcvSTpcp5+FDDMzooFSB7Jnnl/NxWuL1QCL7kfwgnveyr6MHLCTM0CVf97rZqKq+TOZWQB806ZJoRKWjVMvhcfqU7iqgP6+xljd9A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=xvQ+DcZuGSX815soawOzu3lK/qjT7ogk8rK+OOwrb+o=; b=guFKEyzzDlpGzjKS5HebJWlGU9BVDPDWrSv/yDbiLBpSKcjEOK2CxkuL5Z6YRFYS3LjiXvZt698zeInK2ENlWIWh/WKztwFPKyQ3zz9+f3+1bMK0pg06Na7OeM0maLUlfGPP8Bnbxf+deBZ0E5is12iPqeu/QegTuOiMgmp5GXc= Received: from CY4PR11MB1269.namprd11.prod.outlook.com (10.173.16.11) by CY4PR11MB1527.namprd11.prod.outlook.com (10.172.70.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.17; Tue, 10 Dec 2019 17:56:57 +0000 Received: from CY4PR11MB1269.namprd11.prod.outlook.com ([fe80::a12f:7254:eec:b905]) by CY4PR11MB1269.namprd11.prod.outlook.com ([fe80::a12f:7254:eec:b905%3]) with mapi id 15.20.2516.018; Tue, 10 Dec 2019 17:56:57 +0000 From: "Gix, Brian" To: "linux-bluetooth@vger.kernel.org" , "Stotland, Inga" Subject: Re: [PATCH BlueZ v2] tools/mesh-cfgclient: Fix appkey/netkey commands Thread-Topic: [PATCH BlueZ v2] tools/mesh-cfgclient: Fix appkey/netkey commands Thread-Index: AQHVr4GugxZBhs2fJEusMdpQhhtBZaezp2gA Date: Tue, 10 Dec 2019 17:56:57 +0000 Message-ID: <4aec86b307223738973afefc3f187f4ebd2c9517.camel@intel.com> References: <20191210174522.14155-1-inga.stotland@intel.com> In-Reply-To: <20191210174522.14155-1-inga.stotland@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=brian.gix@intel.com; x-originating-ip: [192.55.54.40] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a291fd80-7510-4a11-7bc6-08d77d9a5983 x-ms-traffictypediagnostic: CY4PR11MB1527: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4714; x-forefront-prvs: 02475B2A01 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(366004)(199004)(189003)(64756008)(66476007)(6486002)(66556008)(86362001)(5660300002)(76116006)(66446008)(498600001)(81166006)(71200400001)(8676002)(91956017)(2906002)(81156014)(6506007)(186003)(36756003)(2616005)(6512007)(66946007)(6636002)(26005)(110136005)(8936002)(4001150100001);DIR:OUT;SFP:1102;SCL:1;SRVR:CY4PR11MB1527;H:CY4PR11MB1269.namprd11.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: gFSo7l9c3lEpdZSQFjPXQp9nq0gZZyKVHTZNZF8ORbajfOG+05eaF2D/hR24oDhnrOBGJaTfHktiuHrJN2kYzWwBD8APhMELgXBmAT8H9Bxf75RzCqTBB+yY1CQ2XfKAtL7wuScRaZy6JeYdwiYvSSEPkBJBeWRyqsfsCnYP/07BqdJcWW1cvJPTmEMgnFAt2CNGqCFnJXRow/gaOTEI7cNpDrgT9CFLn58G0mW6WOHxdI/vEmlVAiHil0wzh3Cr51Apk7M1OKaR4TB5/CeyLubpzTRSARGYKEpaWg+yWNsb5kd+iz4f9NIT8fx7dhCyrDcw5wkIIbfjrnPODWvZP5gjfkFnJChCiWzVhRS/m6Mgiv2+p3qSLi81GoMqwznY+9wgMEu+l9zz4gZxPtsKNaGR3mkXN35Z/6Y90jLWxLxQjPF896phkY2vNz37OuUR Content-Type: text/plain; charset="utf-8" Content-ID: <4CA32B902DD2634C82E17585FB10F7AE@namprd11.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: a291fd80-7510-4a11-7bc6-08d77d9a5983 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Dec 2019 17:56:57.5059 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: uk97Q7iNi4B50ph9FVFqL9dxWrQQnm3WtB6ecldod2rqZmLtQYMuXdcVGpuMA5bDJOiYJCt2d/T0BTkhcaTDwQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR11MB1527 X-OriginatorOrg: intel.com Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org QXBwbGllZA0KDQpPbiBUdWUsIDIwMTktMTItMTAgYXQgMDk6NDUgLTA4MDAsIEluZ2EgU3RvdGxh bmQgd3JvdGU6DQo+IFRoaXMgZml4ZXMgdGhlIGNoZWNrcyBmb3IgdGhlIHByZXNlbmNlIG9mIEFw cEtleXMgYW5kIE5ldGtleXMuDQo+IC0tLQ0KPiAgdG9vbHMvbWVzaC9rZXlzLmMgICB8IDI1ICsr KysrKysrKysrKysrKystLS0tLS0tLS0NCj4gIHRvb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