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:
parent
5254eb7e50
commit
01d92811f9
1 changed files with 1 additions and 0 deletions
|
@ -823,6 +823,7 @@ static void wpas_start_wps_go(struct wpa_supplicant *wpa_s,
|
||||||
if (ssid == NULL)
|
if (ssid == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
wpas_notify_network_added(wpa_s, ssid);
|
||||||
wpa_config_set_network_defaults(ssid);
|
wpa_config_set_network_defaults(ssid);
|
||||||
ssid->temporary = 1;
|
ssid->temporary = 1;
|
||||||
ssid->p2p_group = 1;
|
ssid->p2p_group = 1;
|
||||||
|
|
Loading…
Reference in a new issue