aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/main.c
diff options
context:
space:
mode:
authorBen Greear <greearb@candelatech.com>2011-02-07 16:44:33 -0500
committerJohn W. Linville <linville@tuxdriver.com>2011-02-09 16:09:44 -0500
commit8c79a61095936f81cb05e99062185cb987d524ab (patch)
treee62fbd1f7e0914bf22bb105d9ccd169f33d869f9 /drivers/net/wireless/ath/ath9k/main.c
parent09db47b08a9b54f59ee1cfed80837fa2cae87bd1 (diff)
ath9k: Print channel-type in chan-change dbg message.
Signed-off-by: Ben Greear <greearb@candelatech.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/main.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c
index 2d4e9b861b60..d998aabf39ac 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)
1678 else 1678 else
1679 sc->sc_flags &= ~SC_OP_OFFCHANNEL; 1679 sc->sc_flags &= ~SC_OP_OFFCHANNEL;
1680 1680
1681 ath_dbg(common, ATH_DBG_CONFIG, "Set channel: %d MHz\n", 1681 ath_dbg(common, ATH_DBG_CONFIG,
1682 curchan->center_freq); 1682 "Set channel: %d MHz type: %d\n",
1683 curchan->center_freq, conf->channel_type);
1683 1684
1684 ath9k_cmn_update_ichannel(&sc->sc_ah->channels[pos], 1685 ath9k_cmn_update_ichannel(&sc->sc_ah->channels[pos],
1685 curchan, conf->channel_type); 1686 curchan, conf->channel_type);