aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/driver_common.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2013-12-26 15:33:26 (GMT)
committerJouni Malinen <j@w1.fi>2013-12-26 16:27:48 (GMT)
commita5f40eff189d7f939f6434455ee63554ddb3c3ae (patch)
tree04001f2d8c1ab273d7c85841b9551e8b2a6ca617 /src/drivers/driver_common.c
parent18ae237783736feed235497c2269f59e7bc88f0d (diff)
downloadhostap-a5f40eff189d7f939f6434455ee63554ddb3c3ae.zip
hostap-a5f40eff189d7f939f6434455ee63554ddb3c3ae.tar.gz
hostap-a5f40eff189d7f939f6434455ee63554ddb3c3ae.tar.bz2
Track whether scan was started by us or an external program
This can be used to improve scan behavior in cases external programs request scans directly from the driver. Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/drivers/driver_common.c')
-rw-r--r--src/drivers/driver_common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/driver_common.c b/src/drivers/driver_common.c
index 8d1d22e..8a6b438 100644
--- a/src/drivers/driver_common.c
+++ b/src/drivers/driver_common.c
@@ -85,6 +85,7 @@ const char * event_to_string(enum wpa_event_type event)
E2S(DFS_CAC_ABORTED);
E2S(DFS_NOP_FINISHED);
E2S(SURVEY);
+ E2S(SCAN_STARTED);
}
return "UNKNOWN";