diff options
Diffstat (limited to 'net/mac80211/ibss.c')
-rw-r--r-- | net/mac80211/ibss.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/net/mac80211/ibss.c b/net/mac80211/ibss.c index ebafba61c2ff..3ad33a824624 100644 --- a/net/mac80211/ibss.c +++ b/net/mac80211/ibss.c | |||
@@ -303,9 +303,8 @@ ieee80211_ibss_add_sta(struct ieee80211_sub_if_data *sdata, | |||
303 | * allow new one to be added. | 303 | * allow new one to be added. |
304 | */ | 304 | */ |
305 | if (local->num_sta >= IEEE80211_IBSS_MAX_STA_ENTRIES) { | 305 | if (local->num_sta >= IEEE80211_IBSS_MAX_STA_ENTRIES) { |
306 | if (net_ratelimit()) | 306 | net_dbg_ratelimited("%s: No room for a new IBSS STA entry %pM\n", |
307 | printk(KERN_DEBUG "%s: No room for a new IBSS STA entry %pM\n", | 307 | sdata->name, addr); |
308 | sdata->name, addr); | ||
309 | rcu_read_lock(); | 308 | rcu_read_lock(); |
310 | return NULL; | 309 | return NULL; |
311 | } | 310 | } |
@@ -582,9 +581,8 @@ void ieee80211_ibss_rx_no_sta(struct ieee80211_sub_if_data *sdata, | |||
582 | * allow new one to be added. | 581 | * allow new one to be added. |
583 | */ | 582 | */ |
584 | if (local->num_sta >= IEEE80211_IBSS_MAX_STA_ENTRIES) { | 583 | if (local->num_sta >= IEEE80211_IBSS_MAX_STA_ENTRIES) { |
585 | if (net_ratelimit()) | 584 | net_dbg_ratelimited("%s: No room for a new IBSS STA entry %pM\n", |
586 | printk(KERN_DEBUG "%s: No room for a new IBSS STA entry %pM\n", | 585 | sdata->name, addr); |
587 | sdata->name, addr); | ||
588 | return; | 586 | return; |
589 | } | 587 | } |
590 | 588 | ||