[PATCH 15/20] wpa_s: p2p: use configuration file for P2P-Device interface
Arend van Spriel
arend
Thu May 16 06:28:30 PDT 2013
When creating the P2P-Device use the same configuration as the
main interface.
Signed-hostap: Arend van Spriel <arend at broadcom.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 d87f824..1a07706 100644
--- a/wpa_supplicant/p2p_supplicant.c
+++ b/wpa_supplicant/p2p_supplicant.c
@@ -2946,6 +2946,7 @@ int wpas_p2p_add_p2pdev_interface(struct wpa_supplicant *wpa_s)
iface.driver = wpa_s->driver->name;
iface.ctrl_interface = wpa_s->conf->ctrl_interface;
iface.driver_param = wpa_s->conf->driver_param;
+ iface.confname = wpa_s->confname;
p2pdev_wpa_s = wpa_supplicant_add_iface(wpa_s->global, &iface);
if (!p2pdev_wpa_s) {
wpa_printf(MSG_DEBUG, "P2P: failed to add P2P Device interface");
--
1.7.10.4
More information about the Hostap
mailing list