Diff between d6fdefe906d0a1378901d83ffee4ff8da0ad87cd and 09044e631d4a5563b11d606b94066cf04a06848a

Changed Files

File Additions Deletions Status
obexd/plugins/bluetooth.c +1 -1 modified

Full Patch

diff --git a/obexd/plugins/bluetooth.c b/obexd/plugins/bluetooth.c
index c73beb6..613b2a5 100644
--- a/obexd/plugins/bluetooth.c
+++ b/obexd/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;