aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/dbus
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2015-12-30 17:08:51 (GMT)
committerJouni Malinen <j@w1.fi>2015-12-30 17:08:51 (GMT)
commit70e0cb33f2c655b0ed5f7195661b08526252a232 (patch)
treecce38e58f808cc0879076bf24d12f551af8c9abc /wpa_supplicant/dbus
parent438be60153dbfe3e3da9d53edb5e7b1b1dac7567 (diff)
downloadhostap-70e0cb33f2c655b0ed5f7195661b08526252a232.zip
hostap-70e0cb33f2c655b0ed5f7195661b08526252a232.tar.gz
hostap-70e0cb33f2c655b0ed5f7195661b08526252a232.tar.bz2
P2P: Provide group SSID, if specified, to P2P Client join step
At least one of the wpas_p2p_connect() callers (NFC join case) already had access to the Group SSID. Pass that information through wpas_p2p_connect() to wpas_p2p_join() so that the join operation can filter out incorrect groups more easily. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/dbus')
-rw-r--r--wpa_supplicant/dbus/dbus_new_handlers_p2p.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/dbus/dbus_new_handlers_p2p.c b/wpa_supplicant/dbus/dbus_new_handlers_p2p.c
index a0c5ff7..e2f0afc 100644
--- a/wpa_supplicant/dbus/dbus_new_handlers_p2p.c
+++ b/wpa_supplicant/dbus/dbus_new_handlers_p2p.c
@@ -583,7 +583,7 @@ DBusMessage * wpas_dbus_handler_p2p_connect(DBusMessage *message,
new_pin = wpas_p2p_connect(wpa_s, addr, pin, wps_method,
persistent_group, 0, join, authorize_only,
- go_intent, freq, 0, -1, 0, 0, 0, 0);
+ go_intent, freq, 0, -1, 0, 0, 0, 0, NULL, 0);
if (new_pin >= 0) {
char npin[9];