diff options
Diffstat (limited to 'net/mac80211/mlme.c')
-rw-r--r-- | net/mac80211/mlme.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index 52cd301245ae..b3b3c264ff66 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c | |||
@@ -1567,9 +1567,9 @@ static void ieee80211_mgd_probe_ap(struct ieee80211_sub_if_data *sdata, | |||
1567 | } | 1567 | } |
1568 | 1568 | ||
1569 | #ifdef CONFIG_MAC80211_VERBOSE_DEBUG | 1569 | #ifdef CONFIG_MAC80211_VERBOSE_DEBUG |
1570 | if (beacon && net_ratelimit()) | 1570 | if (beacon) |
1571 | printk(KERN_DEBUG "%s: detected beacon loss from AP " | 1571 | net_dbg_ratelimited("%s: detected beacon loss from AP - sending probe request\n", |
1572 | "- sending probe request\n", sdata->name); | 1572 | sdata->name); |
1573 | #endif | 1573 | #endif |
1574 | 1574 | ||
1575 | /* | 1575 | /* |
@@ -2404,10 +2404,8 @@ static void ieee80211_rx_mgmt_beacon(struct ieee80211_sub_if_data *sdata, | |||
2404 | 2404 | ||
2405 | if (ifmgd->flags & IEEE80211_STA_BEACON_POLL) { | 2405 | if (ifmgd->flags & IEEE80211_STA_BEACON_POLL) { |
2406 | #ifdef CONFIG_MAC80211_VERBOSE_DEBUG | 2406 | #ifdef CONFIG_MAC80211_VERBOSE_DEBUG |
2407 | if (net_ratelimit()) { | 2407 | net_dbg_ratelimited("%s: cancelling probereq poll due to a received beacon\n", |
2408 | printk(KERN_DEBUG "%s: cancelling probereq poll due " | 2408 | sdata->name); |
2409 | "to a received beacon\n", sdata->name); | ||
2410 | } | ||
2411 | #endif | 2409 | #endif |
2412 | ifmgd->flags &= ~IEEE80211_STA_BEACON_POLL; | 2410 | ifmgd->flags &= ~IEEE80211_STA_BEACON_POLL; |
2413 | mutex_lock(&local->iflist_mtx); | 2411 | mutex_lock(&local->iflist_mtx); |