From 8f29e8c2f199c7d0723ccd16cda0aab5a24c3ad9 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Tue, 16 Sep 2008 20:20:20 +0300 Subject: [PATCH] obexd: Use LM_AUTH and LM_ENCRYPT instead of LM_SECURE for now (same way as bluez) --- obexd/src/bluetooth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/obexd/src/bluetooth.c b/obexd/src/bluetooth.c index a4f038a77..475180c40 100644 --- a/obexd/src/bluetooth.c +++ b/obexd/src/bluetooth.c @@ -222,7 +222,7 @@ static gint server_register(guint16 service, const gchar *name, guint8 channel, } if (secure) { - int lm = RFCOMM_LM_SECURE; + int lm = RFCOMM_LM_AUTH | RFCOMM_LM_ENCRYPT; if (setsockopt(sk, SOL_RFCOMM, RFCOMM_LM, &lm, sizeof(lm)) < 0) { err = errno; -- 2.47.3