From dea41fe55cc9b3e4e9d0217037817bfe962422ab Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Tue, 22 Jun 2010 12:44:07 +0300 Subject: [PATCH] obexd: Fix security requirements for legacy devices (< 2.1) Make use of security low so that services like opp do not request bonding when connecting to legacy devices. --- obexd/client/session.c | 1 + 1 file changed, 1 insertion(+) diff --git a/obexd/client/session.c b/obexd/client/session.c index c08a7913b..334ade410 100644 --- a/obexd/client/session.c +++ b/obexd/client/session.c @@ -242,6 +242,7 @@ static int rfcomm_connect(const bdaddr_t *src, BT_IO_OPT_SOURCE_BDADDR, src, BT_IO_OPT_DEST_BDADDR, dst, BT_IO_OPT_CHANNEL, channel, + BT_IO_OPT_SEC_LEVEL, BT_IO_SEC_LOW, BT_IO_OPT_INVALID); if (io != NULL) return 0; -- 2.47.3