summaryrefslogtreecommitdiffstats
path: root/src/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/device.c')
-rw-r--r--src/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device.c b/src/device.c
index 02077f94..deb63645 100644
--- a/src/device.c
+++ b/src/device.c
@@ -1706,7 +1706,7 @@ static int l2raw_connect(const bdaddr_t *src, const bdaddr_t *dst,
}
memset(&sec, 0, sizeof(sec));
- sec.level = BT_SECURITY_HIGH;
+ sec.level = BT_SECURITY_MEDIUM;
err = setsockopt(sk, SOL_BLUETOOTH, BT_SECURITY, &sec, sizeof(sec));
if (auth_required)