summaryrefslogtreecommitdiffstats
path: root/hcid
diff options
context:
space:
mode:
authorVinicius Gomes <vinicius.gomes@openbossa.org>2008-03-27 21:33:33 +0000
committerVinicius Gomes <vinicius.gomes@openbossa.org>2008-03-27 21:33:33 +0000
commit0e7c9be2d98e1145295176aec8cc8b4b531007fe (patch)
treec8a7681b62d42891d1a13961ff457be1f428cffb /hcid
parent4952e76e9046de33893ac2e54bebaf2b4dbc7884 (diff)
hcid: fixing the PropertyChanged signal for PeriodicDiscovery
Diffstat (limited to 'hcid')
-rw-r--r--hcid/dbus-hci.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/hcid/dbus-hci.c b/hcid/dbus-hci.c
index a193fcf1..f87d0c2e 100644
--- a/hcid/dbus-hci.c
+++ b/hcid/dbus-hci.c
@@ -1147,7 +1147,7 @@ void hcid_dbus_inquiry_start(bdaddr_t *local)
if (dbus_connection_get_object_user_data(connection, path,
(void *) &adapter)) {
adapter->discov_active = 1;
- /*
+ /*
* Cancel pending remote name request and clean the device list
* when inquiry is supported in periodic inquiry idle state.
*/
@@ -1219,7 +1219,7 @@ int found_device_req_name(struct adapter *adapter)
char peer_addr[18];
const char *signal = NULL, *paddr = peer_addr;
- /* flag to indicate the current remote name requested */
+ /* flag to indicate the current remote name requested */
dev->name_status = NAME_REQUESTED;
memset(&rp, 0, sizeof(rp));
@@ -1446,7 +1446,7 @@ void hcid_dbus_periodic_inquiry_start(bdaddr_t *local, uint8_t status)
ADAPTER_INTERFACE,
"PeriodicDiscovery",
DBUS_TYPE_BOOLEAN,
- &adapter->discov_active);
+ &adapter->pdiscov_active);
}
}
@@ -1526,7 +1526,7 @@ void hcid_dbus_periodic_inquiry_exit(bdaddr_t *local, uint8_t status)
"PeriodicDiscoveryStopped",
DBUS_TYPE_INVALID);
- if (!hcid_dbus_use_experimental()) {
+ if (hcid_dbus_use_experimental()) {
dbus_connection_emit_property_changed(connection, ptr,
ADAPTER_INTERFACE,
"PeriodicDiscovery",