Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 203275
b: refs/heads/master
c: d5c4d19
h: refs/heads/master
i:
  203273: 27a06fb
  203271: cb81b60
v: v3
  • Loading branch information
Luis R. Rodriguez authored and John W. Linville committed Jun 23, 2010
1 parent 1c11b95 commit 81e63b7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 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: 6a0ec30ad4acae63a81526ca8c157f718904993b
refs/heads/master: d5c4d1930ce16b79990f8bb049d090eafd1fedde
10 changes: 7 additions & 3 deletions trunk/drivers/net/wireless/ath/ath9k/ar9003_hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -305,11 +305,15 @@ static void ar9003_hw_configpcipowersave(struct ath_hw *ah,
*/
if (ah->config.pcieSerDesWrite) {
unsigned int i;
struct ar5416IniArray *array;

for (i = 0; i < ah->iniPcieSerdesLowPower.ia_rows; i++) {
array = power_off ? &ah->iniPcieSerdes :
&ah->iniPcieSerdesLowPower;

for (i = 0; i < array->ia_rows; i++) {
REG_WRITE(ah,
INI_RA(&ah->iniPcieSerdesLowPower, i, 0),
INI_RA(&ah->iniPcieSerdesLowPower, i, 1));
INI_RA(array, i, 0),
INI_RA(array, i, 1));
}
}
}
Expand Down

0 comments on commit 81e63b7

Please sign in to comment.