Diff between 15734b43c9dbca2d48c7ef1e0b7c46d920aa220d and 8f29e8c2f199c7d0723ccd16cda0aab5a24c3ad9

Changed Files

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

Full Patch

diff --git a/obexd/src/bluetooth.c b/obexd/src/bluetooth.c
index a4f038a..475180c 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;