projects
/
libeap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c073ad
)
WPS ER: Clear WPS protocol run on PutMessage failure
author
Jouni Malinen
<j@w1.fi>
Sun, 15 Nov 2009 20:56:39 +0000
(22:56 +0200)
committer
Jouni Malinen
<j@w1.fi>
Sun, 15 Nov 2009 20:56:39 +0000
(22:56 +0200)
src/wps/wps_er.c
patch
|
blob
|
history
diff --git
a/src/wps/wps_er.c
b/src/wps/wps_er.c
index
86d2dff
..
2887f04
100644
(file)
--- a/
src/wps/wps_er.c
+++ b/
src/wps/wps_er.c
@@
-1408,6
+1408,10
@@
static void wps_er_http_put_message_cb(void *ctx, struct http_client *c,
case HTTP_CLIENT_INVALID_REPLY:
case HTTP_CLIENT_TIMEOUT:
wpa_printf(MSG_DEBUG, "WPS ER: PutMessage failed");
+ if (ap->wps) {
+ wps_deinit(ap->wps);
+ ap->wps = NULL;
+ }
break;
}
http_client_free(ap->http);