Diff between 16d8bce688d27e704789d034c54aeb7d85ac8a18 and 93d858bcd2abfb404a847ea131b5950c56fef026
Changed Files
| File | Additions | Deletions | Status |
| android/bluetooth.c | +3 | -0 | modified |
Full Patch
diff --git a/android/bluetooth.c b/android/bluetooth.c
index a43eecb..40c4144 100644
--- a/android/bluetooth.c
+++ b/android/bluetooth.c
@@ -1794,6 +1794,9 @@ static void read_info_complete(uint8_t status, uint16_t length,
if (missing_settings & MGMT_SETTING_SSP)
set_mode(MGMT_OP_SET_SSP, 0x01);
+ if (missing_settings & MGMT_SETTING_SECURE_CONN)
+ set_mode(MGMT_OP_SET_SECURE_CONN, 0x01);
+
if (missing_settings & MGMT_SETTING_PAIRABLE)
set_mode(MGMT_OP_SET_PAIRABLE, 0x01);