Message ID | 1481542728-6851-1-git-send-email-avichal.a@samsung.com |
---|---|
State | Accepted |
Headers | show |
On Mon, Dec 12, 2016 at 05:08:48PM +0530, Avichal Agarwal wrote: > p2p.conf file identifier disabled=2 shows the network is persistent . > So p2p_persitent_group should be updated according to persistent network identifier, > This will persistent network on dbus persistent network object path Thanks, applied.
diff --git a/wpa_supplicant/config_file.c b/wpa_supplicant/config_file.c index 2e3d57e..2b8c2ee 100644 --- a/wpa_supplicant/config_file.c +++ b/wpa_supplicant/config_file.c @@ -135,6 +135,9 @@ static int wpa_config_validate_network(struct wpa_ssid *ssid, int line) } wpa_config_update_psk(ssid); } + if(ssid->disabled==2) { + ssid->p2p_persistent_group = 1; + } if ((ssid->group_cipher & WPA_CIPHER_CCMP) && !(ssid->pairwise_cipher & WPA_CIPHER_CCMP) &&