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=-4.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED 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 67444C10F11 for ; Wed, 24 Apr 2019 14:56:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 37C042084F for ; Wed, 24 Apr 2019 14:56:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732381AbfDXO4S (ORCPT ); Wed, 24 Apr 2019 10:56:18 -0400 Received: from mga18.intel.com ([134.134.136.126]:25569 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731258AbfDXO4R (ORCPT ); Wed, 24 Apr 2019 10:56:17 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Apr 2019 07:56:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,390,1549958400"; d="scan'208";a="340376736" Received: from orsmsx101.amr.corp.intel.com ([10.22.225.128]) by fmsmga005.fm.intel.com with ESMTP; 24 Apr 2019 07:56:15 -0700 Received: from orsmsx163.amr.corp.intel.com (10.22.240.88) by ORSMSX101.amr.corp.intel.com (10.22.225.128) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 24 Apr 2019 07:56:15 -0700 Received: from orsmsx103.amr.corp.intel.com ([169.254.5.76]) by ORSMSX163.amr.corp.intel.com ([169.254.9.163]) with mapi id 14.03.0415.000; Wed, 24 Apr 2019 07:56:15 -0700 From: "Gix, Brian" To: Michal Lowas-Rzechonek CC: "linux-bluetooth@vger.kernel.org" , "Stotland, Inga" Subject: RE: [PATCH BlueZ] mesh: Add remote dev key support and cleanup Thread-Topic: [PATCH BlueZ] mesh: Add remote dev key support and cleanup Thread-Index: AQHU+iqeuEkS+gmemU2IJ0mshT/LNKZLeSOA///m1GA= Date: Wed, 24 Apr 2019 14:56:14 +0000 Message-ID: References: <20190423231624.19302-1-brian.gix@intel.com> <20190424085945.zmniib4vpy2uiyql@kynes> In-Reply-To: <20190424085945.zmniib4vpy2uiyql@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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYjJlZDFlNWYtNzIxZC00YzFkLTgxZDEtZWYxMWFiNTg1ODVkIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoidGdnUUZDeWFwaTBXRDB4cjAxaXFiWnRIV3ljK3ZIbHVmdEJpSWpmU1lqS3VIMUp6TDBtN204Rjhhc3RoWkhHOCJ9 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+IEZyb206IE1pY2hhxYIgTG93YXM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