From: Ben Greear Date: Mon, 7 Feb 2011 21:44:33 +0000 (-0800) Subject: ath9k: Print channel-type in chan-change dbg message. X-Git-Tag: v2.6.39-rc1~468^2~25^2^2~214 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8c79a61095936f81cb05e99062185cb987d524ab;p=platform%2Fkernel%2Flinux-stable.git ath9k: Print channel-type in chan-change dbg message. Signed-off-by: Ben Greear Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c index 2d4e9b8..d998aab 100644 --- a/drivers/net/wireless/ath/ath9k/main.c +++ b/drivers/net/wireless/ath/ath9k/main.c @@ -1678,8 +1678,9 @@ static int ath9k_config(struct ieee80211_hw *hw, u32 changed) else sc->sc_flags &= ~SC_OP_OFFCHANNEL; - ath_dbg(common, ATH_DBG_CONFIG, "Set channel: %d MHz\n", - curchan->center_freq); + ath_dbg(common, ATH_DBG_CONFIG, + "Set channel: %d MHz type: %d\n", + curchan->center_freq, conf->channel_type); ath9k_cmn_update_ichannel(&sc->sc_ah->channels[pos], curchan, conf->channel_type);