diff options
-rw-r--r-- | net/mac80211/mlme.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index 237e2ef42ba9..e12fedcfa988 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c | |||
@@ -1988,13 +1988,15 @@ static void ieee80211_mgd_probe_ap(struct ieee80211_sub_if_data *sdata, | |||
1988 | goto out; | 1988 | goto out; |
1989 | } | 1989 | } |
1990 | 1990 | ||
1991 | if (beacon) | 1991 | if (beacon) { |
1992 | mlme_dbg_ratelimited(sdata, | 1992 | mlme_dbg_ratelimited(sdata, |
1993 | "detected beacon loss from AP (missed %d beacons) - probing\n", | 1993 | "detected beacon loss from AP (missed %d beacons) - probing\n", |
1994 | beacon_loss_count); | 1994 | beacon_loss_count); |
1995 | 1995 | ||
1996 | ieee80211_cqm_rssi_notify(&sdata->vif, | 1996 | ieee80211_cqm_rssi_notify(&sdata->vif, |
1997 | NL80211_CQM_RSSI_BEACON_LOSS_EVENT, GFP_KERNEL); | 1997 | NL80211_CQM_RSSI_BEACON_LOSS_EVENT, |
1998 | GFP_KERNEL); | ||
1999 | } | ||
1998 | 2000 | ||
1999 | /* | 2001 | /* |
2000 | * The driver/our work has already reported this event or the | 2002 | * The driver/our work has already reported this event or the |