aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-06-22 11:37:03 +0200
committerJohannes Berg <johannes.berg@intel.com>2012-06-22 12:53:05 +0200
commit08ce5abe3d0e29a7c8b46c4bec891862941116d7 (patch)
tree1d4051e7a45f954b6c0887d0032c583eec0520ab /net/mac80211
parentmac80211: remove TKIP debug (diff)
downloadlinux-dev-08ce5abe3d0e29a7c8b46c4bec891862941116d7.tar.xz
linux-dev-08ce5abe3d0e29a7c8b46c4bec891862941116d7.zip
mac80211: two small verbose debug cleanups
Two instances of CONFIG_MAC80211_VERBOSE_DEBUG should be different, fix them. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211')
-rw-r--r--net/mac80211/ibss.c2
-rw-r--r--net/mac80211/status.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/ibss.c b/net/mac80211/ibss.c
index ff46ff424941..8931110b8433 100644
--- a/net/mac80211/ibss.c
+++ b/net/mac80211/ibss.c
@@ -261,7 +261,7 @@ static struct sta_info *ieee80211_ibss_finish_sta(struct sta_info *sta,
memcpy(addr, sta->sta.addr, ETH_ALEN);
-#ifdef CONFIG_MAC80211_VERBOSE_DEBUG
+#ifdef CONFIG_MAC80211_IBSS_DEBUG
wiphy_debug(sdata->local->hw.wiphy,
"Adding new IBSS station %pM (dev=%s)\n",
addr, sdata->name);
diff --git a/net/mac80211/status.c b/net/mac80211/status.c
index 6b4f42527887..51a6d1e6e250 100644
--- a/net/mac80211/status.c
+++ b/net/mac80211/status.c
@@ -155,7 +155,7 @@ static void ieee80211_handle_filtered_frame(struct ieee80211_local *local,
return;
}
-#ifdef CONFIG_MAC80211_VERBOSE_DEBUG
+#ifdef CONFIG_MAC80211_VERBOSE_PS_DEBUG
if (net_ratelimit())
wiphy_debug(local->hw.wiphy,
"dropped TX filtered frame, queue_len=%d PS=%d @%lu\n",