From 417dfeb62f716cfc9ca7217959377c9664950092 Mon Sep 17 00:00:00 2001 From: Fabio Rossi Date: Wed, 8 Sep 2010 22:37:41 +0200 Subject: [PATCH] --- yaml --- r: 214643 b: refs/heads/master c: 516c6e1f52a09fb2e7024101db3f0375f65670df h: refs/heads/master i: 214641: fde03b65c279da1847f363629aa10adb9d8ea125 214639: 4752c88f7539ff6301b8a599965b0a41a83942bc v: v3 --- [refs] | 2 +- trunk/drivers/net/wireless/ath/ath5k/phy.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index cb45a86d7f5f..9f363c1d1b2e 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 65b7fc97473656eb35b6b58a22c7cef4a99d9e35 +refs/heads/master: 516c6e1f52a09fb2e7024101db3f0375f65670df diff --git a/trunk/drivers/net/wireless/ath/ath5k/phy.c b/trunk/drivers/net/wireless/ath/ath5k/phy.c index 984ba92c7df3..4932bf2f35eb 100644 --- a/trunk/drivers/net/wireless/ath/ath5k/phy.c +++ b/trunk/drivers/net/wireless/ath/ath5k/phy.c @@ -1377,7 +1377,7 @@ ath5k_hw_rf511x_iq_calibrate(struct ath5k_hw *ah) /* protect against divide by 0 and loss of sign bits */ if (i_coffd == 0 || q_coffd < 2) - return -1; + return 0; i_coff = (-iq_corr) / i_coffd; i_coff = clamp(i_coff, -32, 31); /* signed 6 bit */