aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/dbus/dbus_new_handlers_p2p.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2012-01-08 17:25:29 (GMT)
committerJouni Malinen <j@w1.fi>2012-01-08 17:25:29 (GMT)
commit6d92fa6e9209172ae6f4aec5fb4d84ed5e27edb4 (patch)
treec0c66fcd93aa135125e37334293306b063ac0ebb /wpa_supplicant/dbus/dbus_new_handlers_p2p.c
parent68921e24b2ef867d8b4d57192ddf1a3075c57edf (diff)
downloadhostap-6d92fa6e9209172ae6f4aec5fb4d84ed5e27edb4.zip
hostap-6d92fa6e9209172ae6f4aec5fb4d84ed5e27edb4.tar.gz
hostap-6d92fa6e9209172ae6f4aec5fb4d84ed5e27edb4.tar.bz2
P2P: Allow Device ID to be specified for p2p_find command
dev_id=<P2P Device Addr> can now be specified as an argument to p2p_find to request P2P find for a specific P2P device. Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/dbus/dbus_new_handlers_p2p.c')
-rw-r--r--wpa_supplicant/dbus/dbus_new_handlers_p2p.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/wpa_supplicant/dbus/dbus_new_handlers_p2p.c b/wpa_supplicant/dbus/dbus_new_handlers_p2p.c
index 671d0e5..0f6914c 100644
--- a/wpa_supplicant/dbus/dbus_new_handlers_p2p.c
+++ b/wpa_supplicant/dbus/dbus_new_handlers_p2p.c
@@ -131,7 +131,8 @@ DBusMessage * wpas_dbus_handler_p2p_find(DBusMessage *message,
wpa_dbus_dict_entry_clear(&entry);
}
- wpas_p2p_find(wpa_s, timeout, type, num_req_dev_types, req_dev_types);
+ wpas_p2p_find(wpa_s, timeout, type, num_req_dev_types, req_dev_types,
+ NULL);
os_free(req_dev_types);
return reply;