]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
dbus: Do a full P2P find as it is in ctrl_iface.c
authorTomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
Wed, 22 Oct 2014 06:33:22 +0000 (09:33 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 23 Oct 2014 21:57:45 +0000 (00:57 +0300)
So the behavior is consistent whatever interface is in use.

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
wpa_supplicant/dbus/dbus_new_handlers_p2p.c

index 7867f0c853c58cb4f3c0557e8c01da0b1643fe78..078468d37f2a0d651ae203ec29d53c53c291b396 100644 (file)
@@ -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;