summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/dbus-hci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dbus-hci.c b/src/dbus-hci.c
index 58ec1693..3867d6ea 100644
--- a/src/dbus-hci.c
+++ b/src/dbus-hci.c
@@ -1456,8 +1456,8 @@ void hcid_dbus_write_class_complete(bdaddr_t *local)
return;
}
- write_local_class(local, cls);
adapter_set_class(adapter, cls);
+ write_local_class(local, cls);
hci_close_dev(dd);
}