Message ID | 1337287360-15201-1-git-send-email-nirav.j2.shah@intel.com |
---|---|
State | Accepted |
Commit | ad853202344294ef326918989a6f064743fbd39f |
Headers | show |
On Thu, May 17, 2012 at 01:42:40PM -0700, nirav shah wrote: > The fix 361cdf34 extends the use of group formation timeout for the > way handshake but the register is done on the group_interface while > the cancel is done on the parent interface. Correcting the register > to set the eloop timeout on parent. Thanks! Applied.
diff --git a/wpa_supplicant/p2p_supplicant.c b/wpa_supplicant/p2p_supplicant.c index 44aadf1..d41a8dc 100644 --- a/wpa_supplicant/p2p_supplicant.c +++ b/wpa_supplicant/p2p_supplicant.c @@ -3743,7 +3743,7 @@ void wpas_p2p_wps_success(struct wpa_supplicant *wpa_s, const u8 *peer_addr, */ eloop_register_timeout(P2P_MAX_INITIAL_CONN_WAIT, 0, wpas_p2p_group_formation_timeout, - wpa_s, NULL); + wpa_s->parent, NULL); } if (wpa_s->global->p2p) p2p_wps_success_cb(wpa_s->global->p2p, peer_addr);