Diff between b7772ee44272aeea2185a1756e9644047ebd4277 and b3d8d96823f4bfe785a7eb519a69285fb4058c24
Changed Files
| File | Additions | Deletions | Status |
| plugins/mgmtops.c | +3 | -0 | modified |
Full Patch
diff --git a/plugins/mgmtops.c b/plugins/mgmtops.c
index 693445d..45dbfcd 100644
--- a/plugins/mgmtops.c
+++ b/plugins/mgmtops.c
@@ -314,6 +314,9 @@ static int mgmt_update_powered(struct btd_adapter *adapter, uint32_t settings)
if (mgmt_pairable(settings) != pairable)
mgmt_set_pairable(index, pairable);
+ if (!mgmt_ssp(settings))
+ mgmt_set_mode(index, MGMT_OP_SET_SSP, 1);
+
return 0;
}