[PATCH] P2P: fill bridge interface on GO creation

Rajkumar Manoharan rmanohar at qca.qualcomm.com
Wed Aug 8 11:55:22 EDT 2012


Fill bridge interface name while creating new P2P GO interface. No doing
so, is causing to EAP handshake failure on p2p negotiation when group
interface was brigded.

Signed-hostap: Rajkumar Manoharan <rmanohar at qca.qualcomm.com>
---
 wpa_supplicant/p2p_supplicant.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/wpa_supplicant/p2p_supplicant.c b/wpa_supplicant/p2p_supplicant.c
index 0d94ee0..0b76567 100644
--- a/wpa_supplicant/p2p_supplicant.c
+++ b/wpa_supplicant/p2p_supplicant.c
@@ -942,6 +942,7 @@ wpas_p2p_init_group_interface(struct wpa_supplicant *wpa_s, int go)
 	}
 
 	os_memset(&iface, 0, sizeof(iface));
+	iface.bridge_ifname = wpa_s->bridge_ifname;
 	iface.ifname = wpa_s->pending_interface_name;
 	iface.driver = wpa_s->driver->name;
 	iface.ctrl_interface = wpa_s->conf->ctrl_interface;
-- 
1.7.11.4



More information about the HostAP mailing list