If WPS details were not requested, whatever valid reply is a valid
choice for accepting the request.
---
src/agent-connman.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/agent-connman.c b/src/agent-connman.c
index f3d1bc4..b2049a3 100644
--- a/src/agent-connman.c
+++ b/src/agent-connman.c
@@ -710,7 +710,7 @@ static void request_peer_authorization_reply(DBusMessage
*reply,
dbus_message_iter_next(&dict);
}
- if (auth_reply->wps_requested)
+ if (!auth_reply->wps_requested)
choice_done = true;
done:
--
1.8.5.5
_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman