OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8c4af7
)
Simplify btd_event_conn_complete logic
author
Johan Hedberg
<johan.hedberg@nokia.com>
Wed, 29 Dec 2010 13:43:09 +0000
(15:43 +0200)
committer
Johan Hedberg
<johan.hedberg@nokia.com>
Wed, 29 Dec 2010 13:43:09 +0000
(15:43 +0200)
src/event.c
patch
|
blob
|
history
diff --git
a/src/event.c
b/src/event.c
index
123cb6a
..
5d0bf6d
100644
(file)
--- a/
src/event.c
+++ b/
src/event.c
@@
-805,11
+805,10
@@
void btd_event_conn_complete(bdaddr_t *local, uint8_t status, uint16_t handle,
if (device_is_temporary(device))
adapter_remove_device(conn, adapter, device, secmode3);
return;
- } else
- update_lastused(local, peer);
+ }
+ update_lastused(local, peer);
- /* add in the device connetions list */
adapter_add_connection(adapter, device, handle);
}