summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath9k/main.c
diff options
context:
space:
mode:
authorSujith Manoharan <c_manoha@qca.qualcomm.com>2014-08-27 12:07:24 +0530
committerJohn W. Linville <linville@tuxdriver.com>2014-08-28 14:50:12 -0400
commit878066e745b54578409ea765cfc718fcd99a4802 (patch)
treed6fba41edd12f00216c7a3087a1a9049a21b2ab3 /drivers/net/wireless/ath/ath9k/main.c
parent9ea3598b225d9ffbeee65eb0a967bd0746ba1b97 (diff)
downloadlwn-878066e745b54578409ea765cfc718fcd99a4802.tar.gz
lwn-878066e745b54578409ea765cfc718fcd99a4802.zip
ath9k: Add more debug statements for channel context
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.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.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c
index b823b5ac3490..d9be83158a82 100644
--- a/drivers/net/wireless/ath/ath9k/main.c
+++ b/drivers/net/wireless/ath/ath9k/main.c
@@ -2361,6 +2361,9 @@ static void ath9k_mgd_prepare_tx(struct ieee80211_hw *hw,
sc->next_chan = avp->chanctx;
changed = true;
}
+ ath_dbg(common, CHAN_CTX,
+ "%s: Set chanctx state to FORCE_ACTIVE, changed: %d\n",
+ __func__, changed);
sc->sched.state = ATH_CHANCTX_STATE_FORCE_ACTIVE;
spin_unlock_bh(&sc->chan_lock);