aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/notify.c
diff options
context:
space:
mode:
authorNishant Chaprana <n.chaprana@samsung.com>2016-11-02 10:20:28 (GMT)
committerJouni Malinen <j@w1.fi>2016-11-21 12:45:13 (GMT)
commit18f1611797f9c6b7819e6adc950f817d81b5a280 (patch)
treef62cf595c3bf79615113aa2255a873e80593321e /wpa_supplicant/notify.c
parent046fa6fd11606b9eabb06a9c57249bea9c6dc8b6 (diff)
downloadhostap-18f1611797f9c6b7819e6adc950f817d81b5a280.zip
hostap-18f1611797f9c6b7819e6adc950f817d81b5a280.tar.gz
hostap-18f1611797f9c6b7819e6adc950f817d81b5a280.tar.bz2
D-Bus: Send P2P IP address assignment info with GroupStarted event
This commit adds IP address information into GroupStarted event on the P2P client side like it is sent 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 67e36ae..f9c119a 100644
--- a/wpa_supplicant/notify.c
+++ b/wpa_supplicant/notify.c
@@ -669,12 +669,12 @@ 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 persistent,
- int client)
+ int client, const u8 *ip)
{
/* Notify a group has been started */
wpas_dbus_register_p2p_group(wpa_s, ssid);
- wpas_dbus_signal_p2p_group_started(wpa_s, client, persistent);
+ wpas_dbus_signal_p2p_group_started(wpa_s, client, persistent, ip);
}