Skip to content

Commit 6efb71b

Browse files
Holger Schuriglinvjw
authored andcommitted
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 <holgerschurig@googlemail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
1 parent 5dad021 commit 6efb71b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎net/mac80211/mlme.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1572,6 +1572,8 @@ static void ieee80211_mgd_probe_ap(struct ieee80211_sub_if_data *sdata,
15721572
net_dbg_ratelimited("%s: detected beacon loss from AP - sending probe request\n",
15731573
sdata->name);
15741574
#endif
1575+
ieee80211_cqm_rssi_notify(&sdata->vif,
1576+
NL80211_CQM_RSSI_BEACON_LOSS_EVENT, GFP_KERNEL);
15751577

15761578
/*
15771579
* The driver/our work has already reported this event or the

0 commit comments

Comments
 (0)