Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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