Diff between cc7dbadb7236e5e9a7da5567f838b962a524df13 and 0004eb06d5d9a2f27521d9ce3b206d6f3f82c61e
Changed Files
| File | Additions | Deletions | Status |
| src/device.c | +4 | -0 | modified |
Full Patch
diff --git a/src/device.c b/src/device.c
index f6b0167..9b58e0c 100644
--- a/src/device.c
+++ b/src/device.c
@@ -5754,6 +5754,10 @@ int device_connect_le(struct btd_device *dev)
/* Keep this, so we can cancel the connection */
dev->att_io = io;
+ /* Restart temporary timer to give it time to connect/pair, etc. */
+ if (dev->temporary)
+ set_temporary_timer(dev, btd_opts.tmpto);
+
return 0;
}