Skip to content

Commit

Permalink
mac80211: two small verbose debug cleanups
Browse files Browse the repository at this point in the history
Two instances of CONFIG_MAC80211_VERBOSE_DEBUG
should be different, fix them.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
  • Loading branch information
Johannes Berg committed Jun 22, 2012
1 parent 17efdc4 commit 08ce5ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion net/mac80211/ibss.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion net/mac80211/status.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 08ce5ab

Please sign in to comment.