aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2016-05-30 14:40:05 (GMT)
committerJouni Malinen <j@w1.fi>2016-05-30 14:56:41 (GMT)
commitf4b4ddfdd962cc1afea9dc3965bae4e5d8be8f5c (patch)
treefc05a4d54bb5c80e26d8199755158d4f64648c13 /wpa_supplicant
parent4fe50bbc8e38561219871f5562e98ccff0063d10 (diff)
downloadhostap-f4b4ddfdd962cc1afea9dc3965bae4e5d8be8f5c.zip
hostap-f4b4ddfdd962cc1afea9dc3965bae4e5d8be8f5c.tar.gz
hostap-f4b4ddfdd962cc1afea9dc3965bae4e5d8be8f5c.tar.bz2
D-Bus: Remove unused wpas_dbus_signal_p2p_group_started() parameter
The ssid pointer was not used. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant')
-rw-r--r--wpa_supplicant/dbus/dbus_new.c2
-rw-r--r--wpa_supplicant/dbus/dbus_new.h2
-rw-r--r--wpa_supplicant/notify.c2
3 files changed, 1 insertions, 5 deletions
diff --git a/wpa_supplicant/dbus/dbus_new.c b/wpa_supplicant/dbus/dbus_new.c
index db83b3e..0263b2c 100644
--- a/wpa_supplicant/dbus/dbus_new.c
+++ b/wpa_supplicant/dbus/dbus_new.c
@@ -1254,12 +1254,10 @@ static void peer_groups_changed(struct wpa_supplicant *wpa_s)
* irrespective of the role (client/GO) of the current device
*
* @wpa_s: %wpa_supplicant network interface data
- * @ssid: SSID object
* @client: this device is P2P client
* @persistent: 0 - non persistent group, 1 - persistent group
*/
void wpas_dbus_signal_p2p_group_started(struct wpa_supplicant *wpa_s,
- const struct wpa_ssid *ssid,
int client, int persistent)
{
DBusMessage *msg;
diff --git a/wpa_supplicant/dbus/dbus_new.h b/wpa_supplicant/dbus/dbus_new.h
index 9b4ad09..d64fcee 100644
--- a/wpa_supplicant/dbus/dbus_new.h
+++ b/wpa_supplicant/dbus/dbus_new.h
@@ -190,7 +190,6 @@ void wpas_dbus_signal_p2p_go_neg_req(struct wpa_supplicant *wpa_s,
const u8 *src, u16 dev_passwd_id,
u8 go_intent);
void wpas_dbus_signal_p2p_group_started(struct wpa_supplicant *wpa_s,
- const struct wpa_ssid *ssid,
int client, int persistent);
void wpas_dbus_signal_p2p_group_formation_failure(struct wpa_supplicant *wpa_s,
const char *reason);
@@ -401,7 +400,6 @@ static inline void wpas_dbus_signal_p2p_go_neg_req(struct wpa_supplicant *wpa_s,
static inline void
wpas_dbus_signal_p2p_group_started(struct wpa_supplicant *wpa_s,
- const struct wpa_ssid *ssid,
int client, int persistent)
{
}
diff --git a/wpa_supplicant/notify.c b/wpa_supplicant/notify.c
index 9268e44..67e36ae 100644
--- a/wpa_supplicant/notify.c
+++ b/wpa_supplicant/notify.c
@@ -674,7 +674,7 @@ void wpas_notify_p2p_group_started(struct wpa_supplicant *wpa_s,
/* Notify a group has been started */
wpas_dbus_register_p2p_group(wpa_s, ssid);
- wpas_dbus_signal_p2p_group_started(wpa_s, ssid, client, persistent);
+ wpas_dbus_signal_p2p_group_started(wpa_s, client, persistent);
}