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 ff46ff4..8931110 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 6b4f425..51a6d1e 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",