From: Holger Schurig Date: Tue, 15 May 2012 13:38:59 +0000 (+0200) Subject: mac80211: send beacon loss events to userspace X-Git-Tag: next-20120724~65^2~52^2~393 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6efb71b01e37296eb0bcd6c63f7fa3b2d996d589;p=karo-tx-linux.git mac80211: send beacon loss events to userspace Send beacon loss events to userspace, so it will be able to initiate roaming before disconnection Signed-off-by: Holger Schurig Signed-off-by: John W. Linville --- diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index a2f18b7e6858..4ef22a49870f 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c @@ -1572,6 +1572,8 @@ static void ieee80211_mgd_probe_ap(struct ieee80211_sub_if_data *sdata, net_dbg_ratelimited("%s: detected beacon loss from AP - sending probe request\n", sdata->name); #endif + ieee80211_cqm_rssi_notify(&sdata->vif, + NL80211_CQM_RSSI_BEACON_LOSS_EVENT, GFP_KERNEL); /* * The driver/our work has already reported this event or the