diff options
Diffstat (limited to 'src/dbus-hci.c')
-rw-r--r-- | src/dbus-hci.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/dbus-hci.c b/src/dbus-hci.c index d75ee2fc..dcd31493 100644 --- a/src/dbus-hci.c +++ b/src/dbus-hci.c @@ -1158,10 +1158,9 @@ void hcid_dbus_write_class_complete(bdaddr_t *local) return; } - adapter_set_class(adapter, cls); - write_local_class(local, cls); - hci_close_dev(dd); + + adapter_set_class(adapter, cls); } void hcid_dbus_write_simple_pairing_mode_complete(bdaddr_t *local) |