Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D59F3C282DA for ; Wed, 17 Apr 2019 17:58:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A503420663 for ; Wed, 17 Apr 2019 17:58:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731227AbfDQR6x (ORCPT ); Wed, 17 Apr 2019 13:58:53 -0400 Received: from mga02.intel.com ([134.134.136.20]:12716 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726751AbfDQR6x (ORCPT ); Wed, 17 Apr 2019 13:58:53 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Apr 2019 10:58:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,362,1549958400"; d="scan'208";a="224390197" Received: from orsmsx104.amr.corp.intel.com ([10.22.225.131]) by orsmga001.jf.intel.com with ESMTP; 17 Apr 2019 10:58:51 -0700 Received: from orsmsx103.amr.corp.intel.com ([169.254.5.76]) by ORSMSX104.amr.corp.intel.com ([169.254.4.183]) with mapi id 14.03.0415.000; Wed, 17 Apr 2019 10:58:51 -0700 From: "Gix, Brian" To: Michal Lowas-Rzechonek CC: "linux-bluetooth@vger.kernel.org" , "Stotland, Inga" , "marcel@holtmann.org" , "johan.hedberg@gmail.com" Subject: RE: [PATCH BlueZ v5 1/1] mesh: Add APIs for Provisioner and Config Client Thread-Topic: [PATCH BlueZ v5 1/1] mesh: Add APIs for Provisioner and Config Client Thread-Index: AQHU88R1+Q+URVzudUSwAtCzCAe+DKZAUQcAgABN2rA= Date: Wed, 17 Apr 2019 17:58:51 +0000 Message-ID: References: <20190415194946.13121-1-brian.gix@intel.com> <20190415194946.13121-2-brian.gix@intel.com> <20190417055132.scxvzhusx2suasdv@kynes> In-Reply-To: <20190417055132.scxvzhusx2suasdv@kynes> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiM2ViMzJiNzItNzJjNC00MzE3LWFhY2UtNThhZGE1OTE3NTVhIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiS003Vm8zWktFb2lcL2xuTFplYWFMOTBWNjkraWFTdE14UFwvZkpOUEl3MlcxWHZ0djk0dTE1RDdCdVwvcUVuV3VvOCJ9 dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-originating-ip: [10.22.254.138] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org SGkgTWljaGFsLA0KDQo+IEZyb206IE1pY2hhbCBMb3dhcy1SemVjaG9uZWsNCj4gPiArCSB1aW50 NjQgdG9rZW4gSW1wb3J0TG9jYWxOb2RlKHN0cmluZyB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