Browse Source

ath9k: add fastcc to debug print for channel change

This helps us debug channel changes better.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Luis R. Rodriguez 15 năm trước cách đây
mục cha
commit
1e51b2ff0a

+ 3 - 2
drivers/net/wireless/ath/ath9k/main.c

@@ -226,9 +226,10 @@ int ath_set_channel(struct ath_softc *sc, struct ieee80211_hw *hw,
 		caldata = &aphy->caldata;
 		caldata = &aphy->caldata;
 
 
 	ath_print(common, ATH_DBG_CONFIG,
 	ath_print(common, ATH_DBG_CONFIG,
-		  "(%u MHz) -> (%u MHz), conf_is_ht40: %d\n",
+		  "(%u MHz) -> (%u MHz), conf_is_ht40: %d fastcc: %d\n",
 		  sc->sc_ah->curchan->channel,
 		  sc->sc_ah->curchan->channel,
-		  channel->center_freq, conf_is_ht40(conf));
+		  channel->center_freq, conf_is_ht40(conf),
+		  fastcc);
 
 
 	spin_lock_bh(&sc->sc_resetlock);
 	spin_lock_bh(&sc->sc_resetlock);