ath9k: Print channel-type in chan-change dbg message.
authorBen Greear <greearb@candelatech.com>
Mon, 7 Feb 2011 21:44:33 +0000 (13:44 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 9 Feb 2011 21:09:44 +0000 (16:09 -0500)
Signed-off-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/main.c

index 2d4e9b8..d998aab 100644 (file)
@@ -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);