projects
/
libeap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3237bfb
)
WPS ER: Fix debug message for protocol run done case
author
Jouni Malinen
<jouni.malinen@atheros.com>
Thu, 23 Sep 2010 02:19:33 +0000
(19:19 -0700)
committer
Jouni Malinen
<j@w1.fi>
Thu, 23 Sep 2010 02:19:33 +0000
(19:19 -0700)
This is not a failure and should not be indicated as such in the
debug log.
src/wps/wps_er.c
patch
|
blob
|
history
diff --git
a/src/wps/wps_er.c
b/src/wps/wps_er.c
index
d51d53b
..
4726e52
100644
(file)
--- a/
src/wps/wps_er.c
+++ b/
src/wps/wps_er.c
@@
-1563,6
+1563,10
@@
static void wps_er_ap_process(struct wps_er_ap *ap, struct wpabuf *msg)
wps_deinit(ap->wps);
ap->wps = NULL;
}
+ } else if (res == WPS_DONE) {
+ wpa_printf(MSG_DEBUG, "WPS ER: Protocol run done");
+ wps_deinit(ap->wps);
+ ap->wps = NULL;
} else {
wpa_printf(MSG_DEBUG, "WPS ER: Failed to process message from "
"AP (res=%d)", res);