ath5k: Put core clock initialization on a new function

* Handle all usec parameters in one function. It's much cleaner
 this way.

 Signed-off-by: Nick Kossifidis <mickflemm@gmail.com>

Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
Nick Kossifidis
2010-11-23 21:00:37 +02:00
committed by John W. Linville
parent fa3d2feeff
commit c297560206
4 changed files with 134 additions and 27 deletions

View File

@@ -1235,7 +1235,6 @@ static int ath5k_hw_channel(struct ath5k_hw *ah,
}
ah->ah_current_channel = channel;
ath5k_hw_set_clockrate(ah);
return 0;
}