diff options
author | Dmitry Shmidt <dimitrysh@google.com> | 2014-11-05 21:22:25 (GMT) |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2014-11-15 09:03:52 (GMT) |
commit | d10792199e36f357fb82d191ec7bfc6d9daa9e1c (patch) | |
tree | 5e2251f8ad46d1aa9d042838072ec94dcd2b1a2f /src | |
parent | 9f6a7cddc42811883d6035032854089475f2fc65 (diff) | |
download | hostap-d10792199e36f357fb82d191ec7bfc6d9daa9e1c.zip hostap-d10792199e36f357fb82d191ec7bfc6d9daa9e1c.tar.gz hostap-d10792199e36f357fb82d191ec7bfc6d9daa9e1c.tar.bz2 |
Add CTRL-EVENT-SCAN-FAILED notification in case of scan failure
This is needed since the SCAN command with radio work returns before the
actual driver operation to trigger a scan has been executed and as such,
cannot return result of that operation.
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/common/wpa_ctrl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/wpa_ctrl.h b/src/common/wpa_ctrl.h index 8614a27..af1e776 100644 --- a/src/common/wpa_ctrl.h +++ b/src/common/wpa_ctrl.h @@ -58,6 +58,8 @@ extern "C" { #define WPA_EVENT_SCAN_STARTED "CTRL-EVENT-SCAN-STARTED " /** New scan results available */ #define WPA_EVENT_SCAN_RESULTS "CTRL-EVENT-SCAN-RESULTS " +/** Scan command failed */ +#define WPA_EVENT_SCAN_FAILED "CTRL-EVENT-SCAN-FAILED " /** wpa_supplicant state change */ #define WPA_EVENT_STATE_CHANGE "CTRL-EVENT-STATE-CHANGE " /** A new BSS entry was added (followed by BSS entry id and BSSID) */ |