diff options
author | Frédéric Danis <frederic.danis@linux.intel.com> | 2012-10-24 16:34:14 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-10-25 12:38:31 +0300 |
commit | 0cdd6a2c0929ba130e6411bbaf093e9dd51089bc (patch) | |
tree | d69f338a373cb08d2027e4c397c5061d6f6d5c1a /src | |
parent | a606967559f302618103455fcd5aa1f2ae871607 (diff) |
event: Remove write of LastSeen info
Diffstat (limited to 'src')
-rw-r--r-- | src/event.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/event.c b/src/event.c index 3c431355..d7daed2a 100644 --- a/src/event.c +++ b/src/event.c @@ -221,17 +221,6 @@ void btd_event_simple_pairing_complete(bdaddr_t *local, bdaddr_t *peer, device_simple_pairing_complete(device, status); } -static void update_lastseen(bdaddr_t *sba, bdaddr_t *dba, uint8_t dba_type) -{ - time_t t; - struct tm *tm; - - t = time(NULL); - tm = gmtime(&t); - - write_lastseen_info(sba, dba, dba_type, tm); -} - static void update_lastused(bdaddr_t *sba, bdaddr_t *dba, uint8_t dba_type) { time_t t; @@ -256,8 +245,6 @@ void btd_event_device_found(bdaddr_t *local, bdaddr_t *peer, uint8_t bdaddr_type return; } - update_lastseen(local, peer, bdaddr_type); - adapter_update_found_devices(adapter, peer, bdaddr_type, rssi, confirm_name, legacy, data, data_len); } |