]> Pileus Git - ~andy/linux/commitdiff
mac80211: two small verbose debug cleanups
authorJohannes Berg <johannes.berg@intel.com>
Fri, 22 Jun 2012 09:37:03 +0000 (11:37 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 22 Jun 2012 10:53:05 +0000 (12:53 +0200)
Two instances of CONFIG_MAC80211_VERBOSE_DEBUG
should be different, fix them.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/ibss.c
net/mac80211/status.c

index ff46ff4249419d3dd156c00f3c664ba4deac235b..8931110b8433186031c4b9555f1d2f5955c911d0 100644 (file)
@@ -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);
index 6b4f4252788763dc59b47ebbc84ad75052689a54..51a6d1e6e250f24c1f956e6613c31855ffeb6b21 100644 (file)
@@ -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",