Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 171902
b: refs/heads/master
c: f1cf2db
h: refs/heads/master
v: v3
  • Loading branch information
Lukáš Turek authored and John W. Linville committed Nov 23, 2009
1 parent 5c31446 commit 62a7a73
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 98e3ac99e25601c3fb83dc91367d76f864496847
refs/heads/master: f1cf2dbd0f798b71b1590e7aca6647f2caef1649
4 changes: 2 additions & 2 deletions trunk/drivers/net/wireless/ath/ath5k/phy.c
Original file line number Diff line number Diff line change
Expand Up @@ -1399,15 +1399,15 @@ static int ath5k_hw_rf511x_calibrate(struct ath5k_hw *ah,
if (i_coffd == 0 || q_coffd == 0)
goto done;

i_coff = ((-iq_corr) / i_coffd) & 0x3f;
i_coff = ((-iq_corr) / i_coffd);

/* Boundary check */
if (i_coff > 31)
i_coff = 31;
if (i_coff < -32)
i_coff = -32;

q_coff = (((s32)i_pwr / q_coffd) - 128) & 0x1f;
q_coff = (((s32)i_pwr / q_coffd) - 128);

/* Boundary check */
if (q_coff > 15)
Expand Down

0 comments on commit 62a7a73

Please sign in to comment.