mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-17 17:43:06 -05:00
D-Bus: Report error on starting P2P find
Signed-off-by: Vasyl Vavrychuk <vvavrychuk@gmail.com>
This commit is contained in:
parent
66b9f3ca8a
commit
ebf4043739
@ -146,8 +146,11 @@ DBusMessage * wpas_dbus_handler_p2p_find(DBusMessage *message,
|
||||
|
||||
wpa_s = wpa_s->global->p2p_init_wpa_s;
|
||||
|
||||
wpas_p2p_find(wpa_s, timeout, type, num_req_dev_types, req_dev_types,
|
||||
NULL, 0, 0, NULL, freq);
|
||||
if (wpas_p2p_find(wpa_s, timeout, type, num_req_dev_types,
|
||||
req_dev_types, NULL, 0, 0, NULL, freq))
|
||||
reply = wpas_dbus_error_unknown_error(
|
||||
message, "Could not start P2P find");
|
||||
|
||||
os_free(req_dev_types);
|
||||
return reply;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user