Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 150410
b: refs/heads/master
c: 9c8b3ed
h: refs/heads/master
v: v3
  • Loading branch information
Bob Copeland authored and John W. Linville committed May 20, 2009
1 parent 5546c5f commit 68395e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 61405e97788b1bc4e7c5be5b4ec04a73fc11bac2
refs/heads/master: 9c8b3eddc0666255851942df8ec72cd91d22f280
3 changes: 3 additions & 0 deletions trunk/drivers/net/wireless/ath/ath5k/phy.c
Original file line number Diff line number Diff line change
Expand Up @@ -1897,6 +1897,9 @@ ath5k_get_linear_pcdac_min(const u8 *stepL, const u8 *stepR,
s16 min_pwrL, min_pwrR;
s16 pwr_i;

if (WARN_ON(stepL[0] == stepL[1] || stepR[0] == stepR[1]))
return 0;

if (pwrL[0] == pwrL[1])
min_pwrL = pwrL[0];
else {
Expand Down

0 comments on commit 68395e7

Please sign in to comment.