Diff between 3739613350be1156c0dcb81fcceee5af989742a9 and 3d52be78216ef33224918775c348e947ae61494e
Changed Files
| File | Additions | Deletions | Status |
| src/device.c | +2 | -0 | modified |
Full Patch
diff --git a/src/device.c b/src/device.c
index cb925a9..2e25fe6 100644
--- a/src/device.c
+++ b/src/device.c
@@ -1913,6 +1913,8 @@ void device_add_connection(struct btd_device *dev, uint8_t bdaddr_type)
{
struct bearer_state *state = get_state(dev, bdaddr_type);
+ device_update_last_seen(dev, bdaddr_type);
+
if (state->connected) {
char addr[18];
ba2str(&dev->bdaddr, addr);