diff options
Diffstat (limited to 'drivers/net/wireless/ath5k/reset.c')
-rw-r--r-- | drivers/net/wireless/ath5k/reset.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath5k/reset.c b/drivers/net/wireless/ath5k/reset.c index 7a17d31b2fd9..cb5e15f97095 100644 --- a/drivers/net/wireless/ath5k/reset.c +++ b/drivers/net/wireless/ath5k/reset.c | |||
@@ -54,9 +54,8 @@ static inline int ath5k_hw_write_ofdm_timings(struct ath5k_hw *ah, | |||
54 | u32 coef_scaled, coef_exp, coef_man, | 54 | u32 coef_scaled, coef_exp, coef_man, |
55 | ds_coef_exp, ds_coef_man, clock; | 55 | ds_coef_exp, ds_coef_man, clock; |
56 | 56 | ||
57 | if (!(ah->ah_version == AR5K_AR5212) || | 57 | BUG_ON(!(ah->ah_version == AR5K_AR5212) || |
58 | !(channel->hw_value & CHANNEL_OFDM)) | 58 | !(channel->hw_value & CHANNEL_OFDM)); |
59 | BUG(); | ||
60 | 59 | ||
61 | /* Get coefficient | 60 | /* Get coefficient |
62 | * ALGO: coef = (5 * clock * carrier_freq) / 2) | 61 | * ALGO: coef = (5 * clock * carrier_freq) / 2) |