Return-path: Received: from mga04.intel.com ([192.55.52.120]:15433 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932762AbcA1Hns (ORCPT ); Thu, 28 Jan 2016 02:43:48 -0500 From: "Grumbach, Emmanuel" To: Nikolay Martynov CC: "linux-wireless@vger.kernel.org" , "Berg, Johannes" , "julian.calaby@gmail.com" , "ilw@linux.intel.com" Subject: RE: [PATCH v2] iwldvm: fix chain gain calibration when firmware return zero values Date: Thu, 28 Jan 2016 07:43:42 +0000 Message-ID: <0BA3FCBA62E2DC44AF3030971E174FB32E9ED4FD@hasmsx107.ger.corp.intel.com> (sfid-20160128_084352_403395_CE788B63) References: <1453527309-23881-1-git-send-email-mar.kolya@gmail.com> <1453760341-30008-1-git-send-email-mar.kolya@gmail.com> <0BA3FCBA62E2DC44AF3030971E174FB32E9D2EC6@hasmsx109.ger.corp.intel.com> <0BA3FCBA62E2DC44AF3030971E174FB32E9E3F16@hasmsx107.ger.corp.intel.com> In-Reply-To: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: PiANCj4gMjAxNi0wMS0yNyAyOjQ2IEdNVC0wNTowMCBHcnVtYmFjaCwgRW1tYW51ZWwNCj4gPGVt bWFudWVsLmdydW1iYWNoQGludGVsLmNvbT46DQo+ID4+IEhpDQo+ID4+DQo+ID4+IDIwMTYtMDEt MjYgMzoyOCBHTVQtMDU6MDAgR3J1bWJhY2gsIEVtbWFudWVsDQo+ID4+IDxlbW1hbnVlbC5ncnVt YmFjaEBpbnRlbC5jb20+Og0KPiA+PiA+DQo+ID4+ID4NCj4gPj4gPiBPbiAwMS8yNi8yMDE2IDEy OjIwIEFNLCBOaWtvbGF5IE1hcnR5bm92IHdyb3RlOg0KPiA+PiA+PiBJdCBsb29rcyBsaWtlIHNv bWV0aW1lcyBmaXJtd2FyZSByZXR1cm5zIHplcm8gZm9yIGNoYWluIG5vaXNlIGFuZA0KPiA+PiA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