From eac687ee7d3137f8eeab33f934dd9519935d9dfd Mon Sep 17 00:00:00 2001 From: Tomasz Bursztyka Date: Wed, 22 Oct 2014 09:33:22 +0300 Subject: [PATCH] dbus: Do a full P2P find as it is in ctrl_iface.c So the behavior is consistent whatever interface is in use. Signed-off-by: Tomasz Bursztyka --- wpa_supplicant/dbus/dbus_new_handlers_p2p.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wpa_supplicant/dbus/dbus_new_handlers_p2p.c b/wpa_supplicant/dbus/dbus_new_handlers_p2p.c index 7867f0c85..078468d37 100644 --- a/wpa_supplicant/dbus/dbus_new_handlers_p2p.c +++ b/wpa_supplicant/dbus/dbus_new_handlers_p2p.c @@ -74,7 +74,7 @@ DBusMessage * wpas_dbus_handler_p2p_find(DBusMessage *message, DBusMessageIter iter; DBusMessageIter iter_dict; unsigned int timeout = 0; - enum p2p_discovery_type type = P2P_FIND_ONLY_SOCIAL; + enum p2p_discovery_type type = P2P_FIND_START_WITH_FULL; int num_req_dev_types = 0; unsigned int i; u8 *req_dev_types = NULL;