projects
/
mech_eap.orig
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
fc215bf
)
P2P: Send WPS-FAIL event to parent interface, too
author
Jouni Malinen
<jouni.malinen@atheros.com>
Thu, 14 Oct 2010 17:52:31 +0000
(20:52 +0300)
committer
Jouni Malinen
<j@w1.fi>
Thu, 14 Oct 2010 17:52:31 +0000
(20:52 +0300)
This makes it easier to figure out what went wrong during group
formation when per-group interfaces are used.
wpa_supplicant/wps_supplicant.c
patch
|
blob
|
history
diff --git
a/wpa_supplicant/wps_supplicant.c
b/wpa_supplicant/wps_supplicant.c
index
b9e7276
..
b9c22f9
100644
(file)
--- a/
wpa_supplicant/wps_supplicant.c
+++ b/
wpa_supplicant/wps_supplicant.c
@@
-393,6
+393,10
@@
static void wpa_supplicant_wps_event_fail(struct wpa_supplicant *wpa_s,
{
wpa_msg(wpa_s, MSG_INFO, WPS_EVENT_FAIL "msg=%d config_error=%d",
fail->msg, fail->config_error);
+ if (wpa_s->parent && wpa_s->parent != wpa_s)
+ wpa_msg(wpa_s->parent, MSG_INFO, WPS_EVENT_FAIL
+ "msg=%d config_error=%d",
+ fail->msg, fail->config_error);
wpas_clear_wps(wpa_s);
wpas_notify_wps_event_fail(wpa_s, fail);
}