aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2015-09-05 09:39:11 (GMT)
committerJouni Malinen <j@w1.fi>2015-09-05 09:39:11 (GMT)
commit06f52b12f9942917f0e86a62a19167002f425025 (patch)
treeb5419bfad5a016d2dc3d4b06667aed09bb10145e /src
parentd01136a06eaeec50d73ce5e524e0171ad5369a4c (diff)
downloadhostap-06f52b12f9942917f0e86a62a19167002f425025.zip
hostap-06f52b12f9942917f0e86a62a19167002f425025.tar.gz
hostap-06f52b12f9942917f0e86a62a19167002f425025.tar.bz2
wpa_priv: Add support for EVENT_SCAN_STARTED
Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src')
-rw-r--r--src/common/privsep_commands.h1
-rw-r--r--src/drivers/driver_privsep.c3
2 files changed, 4 insertions, 0 deletions
diff --git a/src/common/privsep_commands.h b/src/common/privsep_commands.h
index c6a472d..6562140 100644
--- a/src/common/privsep_commands.h
+++ b/src/common/privsep_commands.h
@@ -68,6 +68,7 @@ enum privsep_event {
PRIVSEP_EVENT_STKSTART,
PRIVSEP_EVENT_FT_RESPONSE,
PRIVSEP_EVENT_RX_EAPOL,
+ PRIVSEP_EVENT_SCAN_STARTED,
};
#endif /* PRIVSEP_COMMANDS_H */
diff --git a/src/drivers/driver_privsep.c b/src/drivers/driver_privsep.c
index 64a65a6..c2d70fc 100644
--- a/src/drivers/driver_privsep.c
+++ b/src/drivers/driver_privsep.c
@@ -468,6 +468,9 @@ static void wpa_driver_privsep_receive(int sock, void *eloop_ctx,
case PRIVSEP_EVENT_SCAN_RESULTS:
wpa_supplicant_event(drv->ctx, EVENT_SCAN_RESULTS, NULL);
break;
+ case PRIVSEP_EVENT_SCAN_STARTED:
+ wpa_supplicant_event(drv->ctx, EVENT_SCAN_STARTED, NULL);
+ break;
case PRIVSEP_EVENT_ASSOC:
wpa_driver_privsep_event_assoc(drv->ctx, EVENT_ASSOC,
event_buf, event_len);