diff options
author | Sujith <Sujith.Manoharan@atheros.com> | 2009-03-30 05:58:25 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-04-22 16:54:30 -0400 |
commit | d8baa9392666d1c50ef42e9f6fbbb0cf536327b9 (patch) | |
tree | a70f7ef031e128defc2bc46dedb3ce1f15432d2a /drivers/net/wireless/ath9k/phy.c | |
parent | 6ed6a05e5c8061cdcd69a418c90c5f11979ce650 (diff) |
ath9k: Cleanup debug messages
Clean debug messages to use appropriate levels,
remove useless messages, and trim the number of
debug levels.
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/phy.c')
-rw-r--r-- | drivers/net/wireless/ath9k/phy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath9k/phy.c b/drivers/net/wireless/ath9k/phy.c index 8bcba906929a..5ec9ce91d979 100644 --- a/drivers/net/wireless/ath9k/phy.c +++ b/drivers/net/wireless/ath9k/phy.c | |||
@@ -46,7 +46,7 @@ ath9k_hw_set_channel(struct ath_hw *ah, struct ath9k_channel *chan) | |||
46 | channelSel = ((freq - 704) * 2 - 3040) / 10; | 46 | channelSel = ((freq - 704) * 2 - 3040) / 10; |
47 | bModeSynth = 1; | 47 | bModeSynth = 1; |
48 | } else { | 48 | } else { |
49 | DPRINTF(ah->ah_sc, ATH_DBG_CHANNEL, | 49 | DPRINTF(ah->ah_sc, ATH_DBG_FATAL, |
50 | "Invalid channel %u MHz\n", freq); | 50 | "Invalid channel %u MHz\n", freq); |
51 | return false; | 51 | return false; |
52 | } | 52 | } |
@@ -79,7 +79,7 @@ ath9k_hw_set_channel(struct ath_hw *ah, struct ath9k_channel *chan) | |||
79 | channelSel = ath9k_hw_reverse_bits((freq - 4800) / 5, 8); | 79 | channelSel = ath9k_hw_reverse_bits((freq - 4800) / 5, 8); |
80 | aModeRefSel = ath9k_hw_reverse_bits(1, 2); | 80 | aModeRefSel = ath9k_hw_reverse_bits(1, 2); |
81 | } else { | 81 | } else { |
82 | DPRINTF(ah->ah_sc, ATH_DBG_CHANNEL, | 82 | DPRINTF(ah->ah_sc, ATH_DBG_FATAL, |
83 | "Invalid channel %u MHz\n", freq); | 83 | "Invalid channel %u MHz\n", freq); |
84 | return false; | 84 | return false; |
85 | } | 85 | } |