projects
/
libeap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d32c65
)
WPS: Cancel WPS operation on PBC session overlap detection
author
Jouni Malinen
<j@w1.fi>
Mon, 20 Sep 2010 00:04:04 +0000
(17:04 -0700)
committer
Jouni Malinen
<j@w1.fi>
Mon, 20 Sep 2010 00:04:04 +0000
(17:04 -0700)
Previously, wpa_supplicant remaining in scanning state without
trying to connect, but there is no particular need to do that.
Instead, cancel WPS operation completely whenever PBC session
overlap is detected.
wpa_supplicant/events.c
patch
|
blob
|
history
diff --git
a/wpa_supplicant/events.c
b/wpa_supplicant/events.c
index
4be6475
..
b0e1d3b
100644
(file)
--- a/
wpa_supplicant/events.c
+++ b/
wpa_supplicant/events.c
@@
-627,7
+627,7
@@
void wpa_supplicant_connect(struct wpa_supplicant *wpa_s,
if (wpas_p2p_notif_pbc_overlap(wpa_s) == 1)
return;
#endif /* CONFIG_P2P */
- wpa
_supplicant_req_new_scan(wpa_s, 10, 0
);
+ wpa
s_wps_cancel(wpa_s
);
return;
}