From: Alex Hacker Date: Mon, 20 Jan 2014 12:02:04 +0600 Subject: [ath9k-devel] [PATCH] ath9k: Fix IQ calibration In-Reply-To: <1389686117-9014-1-git-send-email-sujith@msujith.org> References: <1389686117-9014-1-git-send-email-sujith@msujith.org> Message-ID: <20140120060204.GB5929@infinet.ru> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Hello, On Tue, Jan 14, 2014 at 01:25:17PM +0530, Sujith Manoharan wrote: > + if (i2_p_q2_a0_d1 > 0x1000) > + i2_p_q2_a0_d1 = -((0x1fff - i2_p_q2_a0_d1) + 1); While the 'i2_p_q2_a0_d1 = (iq_res[2] & 0xfff)' the condition 'i2_p_q2_a0_d1 > 0x1000' is always false. Regards, Alex.