Skip to content
Snippets Groups Projects
Commit e2a9b2b5 authored by Vibhav Pant's avatar Vibhav Pant :wave: Committed by Alexandre Julliard
Browse files

winebth.sys: Allow service auth requests from BlueZ for authenticated devices.

parent 5ec46da5
No related branches found
No related tags found
No related merge requests found
......@@ -956,7 +956,11 @@ static DBusHandlerResult bluez_auth_agent_vtable_message_handler( DBusConnection
return DBUS_HANDLER_RESULT_HANDLED;
}
if (p_dbus_message_is_method_call( message, BLUEZ_INTERFACE_AGENT, "Cancel" ))
if (p_dbus_message_is_method_call( message, BLUEZ_INTERFACE_AGENT, "AuthorizeService" ))
/* Services are handled by BlueZ and other services, so we can just allow them here, as
* this method only gets called for authenticated devices. */
reply = p_dbus_message_new_method_return( message );
else if (p_dbus_message_is_method_call( message, BLUEZ_INTERFACE_AGENT, "Cancel" ))
{
pthread_mutex_lock( &ctx->lock );
if (ctx->status == BLUEZ_PAIRING_SESSION_INCOMING || ctx->status == BLUEZ_PAIRING_SESSION_PENDING_REPLY)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment