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:
66ef786
)
Fix discovering when using software scheduler.
author
Luiz Augusto von Dentz
<luiz.dentz@openbossa.org>
Mon, 4 May 2009 22:12:38 +0000
(19:12 -0300)
committer
Luiz Augusto von Dentz
<luiz.dentz@openbossa.org>
Tue, 5 May 2009 20:30:46 +0000
(17:30 -0300)
Software scheduling (inquiry) was not handling device founds correctly,
the devices found in a round are not removed from the out of range list.
src/dbus-hci.c
patch
|
blob
|
history
diff --git
a/src/dbus-hci.c
b/src/dbus-hci.c
index
7b9baed
..
11137cc
100644
(file)
--- a/
src/dbus-hci.c
+++ b/
src/dbus-hci.c
@@
-662,8
+662,7
@@
void hcid_dbus_inquiry_result(bdaddr_t *local, bdaddr_t *peer, uint32_t class,
adapter_set_state(adapter, state);
}
/* Out of range list update */
- if (adapter_get_state(adapter) & PERIODIC_INQUIRY)
- adapter_remove_oor_device(adapter, peer_addr);
+ adapter_remove_oor_device(adapter, peer_addr);
legacy = (data == NULL);