[PATCH] Add network_added notification when p2p device becomes GO.

Sane, Jayant jayant.sane
Fri Nov 12 10:11:09 PST 2010


>-----Original Message-----
>From: Jean Trivelly [mailto:jeanx.trivelly at linux.intel.com]
>Sent: Wednesday, November 10, 2010 6:02 AM
>To: fabienx.marotte at linux.intel.com; Sane, Jayant;
>hostap at lists.shmoo.com
>Cc: Jean Trivelly
>Subject: [PATCH] Add network_added notification when p2p device becomes
>GO.
>
>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

Ok to push.



More information about the Hostap mailing list