Commit 6efb71b0 authored by Holger Schurig's avatar Holger Schurig Committed by John W. Linville

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: default avatarHolger Schurig <holgerschurig@googlemail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 5dad021d
...@@ -1572,6 +1572,8 @@ static void ieee80211_mgd_probe_ap(struct ieee80211_sub_if_data *sdata, ...@@ -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", net_dbg_ratelimited("%s: detected beacon loss from AP - sending probe request\n",
sdata->name); sdata->name);
#endif #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 * The driver/our work has already reported this event or the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment