Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 159169
b: refs/heads/master
c: 1b7e528
h: refs/heads/master
i:
  159167: fef3d96
v: v3
  • Loading branch information
Gabor Juhos authored and John W. Linville committed Jul 24, 2009
1 parent 5b23f33 commit d7b8165
Show file tree
Hide file tree
Showing 2 changed files with 3 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: da3c821f549419e09b4b64f07d99f52174daae6d
refs/heads/master: 1b7e528b2e39bfed37228eedaaf0665196d8ddc9
2 changes: 2 additions & 0 deletions trunk/drivers/net/wireless/ath/ath9k/hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -3842,6 +3842,7 @@ void ath9k_hw_reset_tsf(struct ath_hw *ah)
{
int count;

ath9k_ps_wakeup(ah->ah_sc);
count = 0;
while (REG_READ(ah, AR_SLP32_MODE) & AR_SLP32_TSF_WRITE_STATUS) {
count++;
Expand All @@ -3853,6 +3854,7 @@ void ath9k_hw_reset_tsf(struct ath_hw *ah)
udelay(10);
}
REG_WRITE(ah, AR_RESET_TSF, AR_RESET_TSF_ONCE);
ath9k_ps_restore(ah->ah_sc);
}

bool ath9k_hw_set_tsfadjust(struct ath_hw *ah, u32 setting)
Expand Down

0 comments on commit d7b8165

Please sign in to comment.