projects
/
mech_eap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clear wpa_s->sme.last_unprot_disconnect.sec on FLUSH command
[mech_eap.git]
/
wpa_supplicant
/
preauth_test.c
diff --git
a/wpa_supplicant/preauth_test.c
b/wpa_supplicant/preauth_test.c
index
3503e65
..
f4bba98
100644
(file)
--- a/
wpa_supplicant/preauth_test.c
+++ b/
wpa_supplicant/preauth_test.c
@@
-27,10
+27,7
@@
#include "drivers/driver.h"
#include "drivers/driver.h"
-extern int wpa_debug_level;
-extern int wpa_debug_show_keys;
-
-struct wpa_driver_ops *wpa_drivers[] = { NULL };
+const struct wpa_driver_ops *const wpa_drivers[] = { NULL };
struct preauth_test_data {
struct preauth_test_data {
@@
-309,7
+306,7
@@
int main(int argc, char *argv[])
}
os_memset(&wpa_s, 0, sizeof(wpa_s));
}
os_memset(&wpa_s, 0, sizeof(wpa_s));
- wpa_s.conf = wpa_config_read(argv[1]);
+ wpa_s.conf = wpa_config_read(argv[1]
, NULL
);
if (wpa_s.conf == NULL) {
printf("Failed to parse configuration file '%s'.\n", argv[1]);
return -1;
if (wpa_s.conf == NULL) {
printf("Failed to parse configuration file '%s'.\n", argv[1]);
return -1;