Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp1065207ybd; Wed, 26 Jun 2019 10:34:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqxbk1V4Iu6dn9NxAUJgzDwnaOCR7FoiDioqitaRamblxmYqbMV2nzai2+3sobXC/h501/tv X-Received: by 2002:a63:3d8d:: with SMTP id k135mr4171614pga.23.1561570464231; Wed, 26 Jun 2019 10:34:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561570464; cv=none; d=google.com; s=arc-20160816; b=vm1sEuI56F/Grf71gn/pPMIoTBfKrfv5j5gmk2TDsu/hRsO4Ua1TJKANyXifwn1cnI RvQOIeoNGInxoCjQ1sl4cPEY5ili5waoRJbCJIQ5AVPRbx2xfXTjbFfqXXKJ9CwNeXff MYmj2bbjtADM1+p6ZSU0eDN5uIMz2noHY6N+7Ebir2fOHfuHYRSxvbDP/HKyecqj9OsL k+n8Cm11PCtIqhZefVJu2CTRowEz28QRzlTvKjWePPLrFIjWdNooH9tPDwF8TEXBAOWc 686OpIdj909yXtgVoQmmkBZGPbFRM7NSWmPw+ugrpDCDuSfqn670T7+gdo9JLuPxEF8c 33Sg== 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-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:to:from; bh=kyYOHODAEkNiQkTE6fALsQmnsi2T58qnAiBD6cxtzyw=; b=z2Rqu/vAQORf3aLmJsBwY0sQy97q8Fb2YuqONkaPut4FPkTBTEJGhWUsEwTZP5dmoX i31bIlBN5ToHoKfEOfUFBR0PFjdvM4aO2QO4e5RNczF749XAS/d3ueF9wtE1lleP0cUN fVYVaKLK3F/c9lDDMqht9fMWcpV6M8sNqtyquYUgaueB1LMZ1ftSnn+mvia70Mq43cC6 qz2lX7Hto1/S58CtMX5x24RyXef35QaHT7J+mdt6bNJNNw8nlI8BU64z/jJmL6AUdaS4 +MeH2mtOXFlV5W+NaGOmBuN7+LBN7x1CKDiwxDraHUjcUQNbZuu95ee9O9xt+PEn8+Ut yelA== 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 x21si2607771pjp.105.2019.06.26.10.33.55; Wed, 26 Jun 2019 10:34:24 -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 S1726223AbfFZRdF (ORCPT + 99 others); Wed, 26 Jun 2019 13:33:05 -0400 Received: from mga14.intel.com ([192.55.52.115]:33663 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726042AbfFZRdF (ORCPT ); Wed, 26 Jun 2019 13:33:05 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Jun 2019 10:33:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,420,1557212400"; d="scan'208";a="164025669" Received: from orsmsx101.amr.corp.intel.com ([10.22.225.128]) by fmsmga007.fm.intel.com with ESMTP; 26 Jun 2019 10:33:02 -0700 Received: from orsmsx124.amr.corp.intel.com (10.22.240.120) by ORSMSX101.amr.corp.intel.com (10.22.225.128) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 26 Jun 2019 10:32:59 -0700 Received: from orsmsx103.amr.corp.intel.com ([169.254.5.135]) by ORSMSX124.amr.corp.intel.com ([169.254.2.150]) with mapi id 14.03.0439.000; Wed, 26 Jun 2019 10:32:59 -0700 From: "Gix, Brian" To: "linux-bluetooth@vger.kernel.org" , "rafal.gajda@silvair.com" Subject: Re: [PATCH BlueZ] mesh: Fix to duplicated model Ids saved to storage Thread-Topic: [PATCH BlueZ] mesh: Fix to duplicated model Ids saved to storage Thread-Index: AQHVLDa5MrDEgZy1OEqJpjr2FIo6dKaup06A Date: Wed, 26 Jun 2019 17:32:58 +0000 Message-ID: <1561570377.22940.17.camel@intel.com> References: <20190626154902.18904-1-rafal.gajda@silvair.com> In-Reply-To: <20190626154902.18904-1-rafal.gajda@silvair.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.254.45.164] Content-Type: text/plain; charset="utf-8" Content-ID: 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 QXBwbGllZCB3aXRoIG1pbm9yIGNvbW1pdCBtZXNzYWdlIGNoYW5nZSwgVGhhbmtzDQoNCk9uIFdl ZCwgMjAxOS0wNi0yNiBhdCAxNzo0OSArMDIwMCwgUmFmYcWCIEdhamRhIHdyb3RlOg0KPiBCbHVl WiBpbnRlcm5hbGx5IGltcGxlbWVudHMgYSBTSUcgbW9kZWwgZm9yIENvbmZpZyBTZXJ2ZXIuDQo+ IA0KPiBXaGVuIGdlbmVyYXRpbmcgbm9kZSwgaWYgdGhlIE1lc2ggRWxlbWVudCBpbiBtZXNoIGFw cGxpY2F0aW9uIHJldHVybnMgbW9kZWxJZCAwDQo+IGFtb25nIGl0cyBzdXBwb3J0ZWQgbW9kZWxz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