P2P: 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@linux.intel.com>
This commit is contained in:
Jean Trivelly 2010-11-12 21:21:24 +02:00 committed by Jouni Malinen
parent 5254eb7e50
commit 01d92811f9

View file

@ -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;