projects
/
mech_eap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1739fb
)
P2P: Fix error path not to build error message twice
author
Jouni Malinen
<j@w1.fi>
Fri, 15 Jul 2011 11:40:04 +0000
(14:40 +0300)
committer
Jouni Malinen
<j@w1.fi>
Fri, 15 Jul 2011 11:40:04 +0000
(14:40 +0300)
wpa_supplicant/dbus/dbus_new_handlers_p2p.c
patch
|
blob
|
history
diff --git
a/wpa_supplicant/dbus/dbus_new_handlers_p2p.c
b/wpa_supplicant/dbus/dbus_new_handlers_p2p.c
index
223af03
..
1e3c832
100644
(file)
--- a/
wpa_supplicant/dbus/dbus_new_handlers_p2p.c
+++ b/
wpa_supplicant/dbus/dbus_new_handlers_p2p.c
@@
-463,10
+463,8
@@
DBusMessage * wpas_dbus_handler_p2p_connect(DBusMessage *message,
if (!peer_object_path || (wps_method == WPS_NOT_READY) ||
(parse_peer_object_path(peer_object_path, addr) < 0) ||
- (p2p_get_peer_info(wpa_s->global->p2p, addr, 0, NULL, 0) < 0)) {
- reply = wpas_dbus_error_invalid_args(message, NULL);
+ (p2p_get_peer_info(wpa_s->global->p2p, addr, 0, NULL, 0) < 0))
goto inv_args;
- }
/*
* Validate the wps_method specified and the pin value.