aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/dbus
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2012-05-11 13:25:47 (GMT)
committerJouni Malinen <j@w1.fi>2012-05-11 13:25:47 (GMT)
commit3bc462cb88e0ffa2fe5b891b7539eb39757a5315 (patch)
tree8df810190c15168725eb29c20cf9e612daa8a3aa /wpa_supplicant/dbus
parent1cbe86e2d6d2b5a7d072093ce1a94082b4b3f472 (diff)
downloadhostap-3bc462cb88e0ffa2fe5b891b7539eb39757a5315.zip
hostap-3bc462cb88e0ffa2fe5b891b7539eb39757a5315.tar.gz
hostap-3bc462cb88e0ffa2fe5b891b7539eb39757a5315.tar.bz2
P2P: Add option for Provision Discovery before GO Negotiation
This is a workaround for interoperability issues with some deployed P2P implementations that require a Provision Discovery exchange to be used before GO Negotiation. The new provdisc parameter for the p2p_connect command can be used to request this behavior without having to run a separate p2p_prov_disc command. Signed-hostap: 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 45d6906..f4541f7 100644
--- a/wpa_supplicant/dbus/dbus_new_handlers_p2p.c
+++ b/wpa_supplicant/dbus/dbus_new_handlers_p2p.c
@@ -504,7 +504,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, -1);
+ go_intent, freq, -1, 0);
if (new_pin >= 0) {
char npin[9];