diff options
author | David S. Miller <davem@davemloft.net> | 2010-09-21 18:17:19 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-21 18:17:19 -0700 |
commit | a0741ca949692904646c310573754859cba09bf1 (patch) | |
tree | fc95067d8bfee5f6c6c747c74d1d6547d70199a3 /drivers/net/wireless/ath/ath5k/phy.c | |
parent | 9e2e8f14d48dbb6c31aeb739ae4fc8997b9dfe84 (diff) | |
parent | b618f6f885579a6237e5bf4582fa6167972ddef4 (diff) |
Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/phy.c')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/phy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath5k/phy.c b/drivers/net/wireless/ath/ath5k/phy.c index 984ba92c7df3..4932bf2f35eb 100644 --- a/drivers/net/wireless/ath/ath5k/phy.c +++ b/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 */ |