aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/bgscan.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2010-07-10 22:43:44 (GMT)
committerJouni Malinen <j@w1.fi>2010-07-10 22:43:44 (GMT)
commitc2594c3677c8f529febe31600afb95e61d8b39bb (patch)
tree4b92024755c5bf4152486e1fe764026992113290 /wpa_supplicant/bgscan.c
parent3b038d796852d5aa05ca2c53298749ab16187367 (diff)
downloadhostap-c2594c3677c8f529febe31600afb95e61d8b39bb.zip
hostap-c2594c3677c8f529febe31600afb95e61d8b39bb.tar.gz
hostap-c2594c3677c8f529febe31600afb95e61d8b39bb.tar.bz2
bgscan: Provide scan results to the notify_scan handler
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 31b5d27..a0d98db 100644
--- a/wpa_supplicant/bgscan.c
+++ b/wpa_supplicant/bgscan.c
@@ -88,10 +88,12 @@ void bgscan_deinit(struct wpa_supplicant *wpa_s)
}
-int bgscan_notify_scan(struct wpa_supplicant *wpa_s)
+int bgscan_notify_scan(struct wpa_supplicant *wpa_s,
+ struct wpa_scan_results *scan_res)
{
if (wpa_s->bgscan && wpa_s->bgscan_priv)
- return wpa_s->bgscan->notify_scan(wpa_s->bgscan_priv);
+ return wpa_s->bgscan->notify_scan(wpa_s->bgscan_priv,
+ scan_res);
return 0;
}