summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-hci.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@indt.org.br>2008-07-10 16:05:26 -0300
committerLuiz Augusto von Dentz <luiz.dentz@indt.org.br>2008-07-28 10:37:24 -0300
commit31add9474ec23e17b445811ac7491d3571bfc716 (patch)
treecaf842053b8eea073ed9e928bac8acdc904406ac /hcid/dbus-hci.c
parent51e6fcc051fe21c8359dd7d1981a5b38c59a4b9d (diff)
Integrate struct hci_dev into struct adapter.
Diffstat (limited to 'hcid/dbus-hci.c')
-rw-r--r--hcid/dbus-hci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hcid/dbus-hci.c b/hcid/dbus-hci.c
index be235882..548ba92e 100644
--- a/hcid/dbus-hci.c
+++ b/hcid/dbus-hci.c
@@ -1598,7 +1598,7 @@ gboolean discov_timeout_handler(void *data)
goto failed;
}
- set_limited_discoverable(dd, adapter->class, FALSE);
+ set_limited_discoverable(dd, adapter->dev.class, FALSE);
adapter->timeout_id = 0;
retval = FALSE;
@@ -1735,7 +1735,7 @@ void hcid_dbus_write_class_complete(bdaddr_t *local)
write_local_class(local, cls);
set_device_class(adapter->dev_id, cls);
- memcpy(adapter->class, cls, 3);
+ memcpy(adapter->dev.class, cls, 3);
hci_close_dev(dd);
}