mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
17efdc4ab8
commit
08ce5abe3d
|
@ -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);
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue