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 <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
Tomasz Bursztyka 2014-10-22 09:33:22 +03:00 committed by Jouni Malinen
parent 4db207518d
commit eac687ee7d

View file

@ -74,7 +74,7 @@ DBusMessage * wpas_dbus_handler_p2p_find(DBusMessage *message,
DBusMessageIter iter; DBusMessageIter iter;
DBusMessageIter iter_dict; DBusMessageIter iter_dict;
unsigned int timeout = 0; 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; int num_req_dev_types = 0;
unsigned int i; unsigned int i;
u8 *req_dev_types = NULL; u8 *req_dev_types = NULL;