From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> Using secure flag is probably safer here as other services beside OPP may not require security/authorization. --- plugins/bluetooth.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/plugins/bluetooth.c b/plugins/bluetooth.c index c73beb6..613b2a5 100644 --- a/plugins/bluetooth.c +++ b/plugins/bluetooth.c @@ -479,7 +479,7 @@ static void confirm_event(GIOChannel *io, void *user_data) goto drop; } - if (driver->service != OBEX_OPP) { + if (driver->secure) { if (request_service_authorization(service, io, address) < 0) goto drop; -- 1.7.7.3 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html