]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ath9k: Convert a couple of debug messages
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Tue, 18 Jun 2013 04:43:40 +0000 (10:13 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 18 Jun 2013 18:46:45 +0000 (14:46 -0400)
Use the REGULATORY debug level to print the target power
details. EEPROM can be used for other purposes and this
spams the log.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c

index eae23b910bce3d26a3eb386c4d6e4b0dcf52760d..1e86977d33220865faa98d25c8aa8619828f3b2a 100644 (file)
@@ -4562,7 +4562,7 @@ static void ar9003_hw_get_target_power_eeprom(struct ath_hw *ah,
                                                 is2GHz);
 
        for (i = 0; i < ar9300RateSize; i++) {
-               ath_dbg(common, EEPROM, "TPC[%02d] 0x%08x\n",
+               ath_dbg(common, REGULATORY, "TPC[%02d] 0x%08x\n",
                        i, targetPowerValT2[i]);
        }
 }
@@ -5288,7 +5288,7 @@ static void ath9k_hw_ar9300_set_txpower(struct ath_hw *ah,
                return;
 
        for (i = 0; i < ar9300RateSize; i++) {
-               ath_dbg(common, EEPROM, "TPC[%02d] 0x%08x\n",
+               ath_dbg(common, REGULATORY, "TPC[%02d] 0x%08x\n",
                        i, targetPowerValT2[i]);
        }