diff options
author | Holger Schurig <holgerschurig@googlemail.com> | 2012-05-15 09:38:59 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-06-05 15:24:53 -0400 |
commit | 6efb71b01e37296eb0bcd6c63f7fa3b2d996d589 (patch) | |
tree | f39c0c959231b0e60360331440a8cd52ba777077 /net | |
parent | 5dad021dee7c3c601a9e17d86139e586c05c2ee2 (diff) |
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>
Diffstat (limited to 'net')
-rw-r--r-- | net/mac80211/mlme.c | 2 |
1 files changed, 2 insertions, 0 deletions
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, | |||
1572 | net_dbg_ratelimited("%s: detected beacon loss from AP - sending probe request\n", | 1572 | net_dbg_ratelimited("%s: detected beacon loss from AP - sending probe request\n", |
1573 | sdata->name); | 1573 | sdata->name); |
1574 | #endif | 1574 | #endif |
1575 | ieee80211_cqm_rssi_notify(&sdata->vif, | ||
1576 | NL80211_CQM_RSSI_BEACON_LOSS_EVENT, GFP_KERNEL); | ||
1575 | 1577 | ||
1576 | /* | 1578 | /* |
1577 | * The driver/our work has already reported this event or the | 1579 | * The driver/our work has already reported this event or the |