aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/bgscan.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2010-08-27 13:58:06 (GMT)
committerJouni Malinen <j@w1.fi>2010-08-27 13:58:06 (GMT)
commit60a972a68da94de6182b2ca52c9b4184b00afc45 (patch)
tree15ff5137969d4a774202e4aadb68847fad63abe2 /wpa_supplicant/bgscan.c
parent9c77ad1889664f85f03ea13b629f3107189fe0cc (diff)
downloadhostap-60a972a68da94de6182b2ca52c9b4184b00afc45.zip
hostap-60a972a68da94de6182b2ca52c9b4184b00afc45.tar.gz
hostap-60a972a68da94de6182b2ca52c9b4184b00afc45.tar.bz2
Add current signal strength into signal quality change events
Diffstat (limited to 'wpa_supplicant/bgscan.c')
-rw-r--r--wpa_supplicant/bgscan.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/wpa_supplicant/bgscan.c b/wpa_supplicant/bgscan.c
index e5fdfc4..e76e954 100644
--- a/wpa_supplicant/bgscan.c
+++ b/wpa_supplicant/bgscan.c
@@ -111,8 +111,10 @@ void bgscan_notify_beacon_loss(struct wpa_supplicant *wpa_s)
}
-void bgscan_notify_signal_change(struct wpa_supplicant *wpa_s, int above)
+void bgscan_notify_signal_change(struct wpa_supplicant *wpa_s, int above,
+ int current_signal)
{
if (wpa_s->bgscan && wpa_s->bgscan_priv)
- wpa_s->bgscan->notify_signal_change(wpa_s->bgscan_priv, above);
+ wpa_s->bgscan->notify_signal_change(wpa_s->bgscan_priv, above,
+ current_signal);
}