[PATCH] Add network_added notification when p2p device becomes GO.
Jean Trivelly
jeanx.trivelly
Wed Nov 10 06:02:27 PST 2010
Notification is done when you become P2P client but was missing
when you become GO.
Signed-off-by: Jean Trivelly <jeanx.trivelly at linux.intel.com>
---
wpa_supplicant/p2p_supplicant.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/wpa_supplicant/p2p_supplicant.c b/wpa_supplicant/p2p_supplicant.c
index 2f6ae89..13c8197 100644
--- a/wpa_supplicant/p2p_supplicant.c
+++ b/wpa_supplicant/p2p_supplicant.c
@@ -823,6 +823,7 @@ static void wpas_start_wps_go(struct wpa_supplicant *wpa_s,
if (ssid == NULL)
return;
+ wpas_notify_network_added(wpa_s, ssid);
wpa_config_set_network_defaults(ssid);
ssid->temporary = 1;
ssid->p2p_group = 1;
--
1.7.0.4
More information about the Hostap
mailing list