aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/notify.c
diff options
context:
space:
mode:
authorNishant Chaprana <n.chaprana@samsung.com>2016-05-30 07:38:31 (GMT)
committerJouni Malinen <j@w1.fi>2016-05-30 14:56:16 (GMT)
commit4fe50bbc8e38561219871f5562e98ccff0063d10 (patch)
treeab23a9daed2a9a37a20c5da8dd6271cf7ed03bc3 /wpa_supplicant/notify.c
parentaa59370b34a103eb440f37a6ed14e8911d2c8461 (diff)
downloadhostap-4fe50bbc8e38561219871f5562e98ccff0063d10.zip
hostap-4fe50bbc8e38561219871f5562e98ccff0063d10.tar.gz
hostap-4fe50bbc8e38561219871f5562e98ccff0063d10.tar.bz2
D-Bus: Indicate whether created group is persistent or not
This adds an extra parameter in GroupStarted signal to indicate whether the created group is Persistent or not. It is similar to the [PERSISTENT] tag which comes in P2P-GROUP-STARTED over the control interface. Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Diffstat (limited to 'wpa_supplicant/notify.c')
-rw-r--r--wpa_supplicant/notify.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wpa_supplicant/notify.c b/wpa_supplicant/notify.c
index e739363..9268e44 100644
--- a/wpa_supplicant/notify.c
+++ b/wpa_supplicant/notify.c
@@ -668,13 +668,13 @@ void wpas_notify_p2p_provision_discovery(struct wpa_supplicant *wpa_s,
void wpas_notify_p2p_group_started(struct wpa_supplicant *wpa_s,
- struct wpa_ssid *ssid, int network_id,
+ struct wpa_ssid *ssid, int persistent,
int client)
{
/* Notify a group has been started */
wpas_dbus_register_p2p_group(wpa_s, ssid);
- wpas_dbus_signal_p2p_group_started(wpa_s, ssid, client, network_id);
+ wpas_dbus_signal_p2p_group_started(wpa_s, ssid, client, persistent);
}