]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
P2P: Add network_added notification when p2p device becomes GO
authorJean Trivelly <jeanx.trivelly@linux.intel.com>
Fri, 12 Nov 2010 19:21:24 +0000 (21:21 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 12 Nov 2010 19:21:24 +0000 (21:21 +0200)
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>
wpa_supplicant/p2p_supplicant.c

index dd91ddf021bf86c66da9fcd18a3318042cb3e3dc..758cc5d83eae03604866b1a91c413a0fe94bdc25 100644 (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;