diff options
author | Alok Barsode <alok.barsode@azingo.com> | 2009-07-07 16:32:57 +0530 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2009-07-07 23:42:40 +0300 |
commit | 302eee8269c69771358c8b7415cda78fb1c0e17a (patch) | |
tree | bcddbde7fa018034fb1ef4012537f1830d30b89d /plugins | |
parent | 85662b135fa8064d6e7808d18f669c9097686957 (diff) | |
download | bluez-302eee8269c69771358c8b7415cda78fb1c0e17a.tar.gz |
Fixing bluetoothd to avoid passing device descriptor
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/hal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/hal.c b/plugins/hal.c index 5b7e4b2cf..6815f2801 100644 --- a/plugins/hal.c +++ b/plugins/hal.c @@ -90,9 +90,9 @@ static void formfactor_reply(DBusPendingCall *call, void *user_data) /* Computer major class */ debug("Setting 0x%06x for major/minor device class", (1 << 8) | minor); - set_major_and_minor_class(dd, cls, 0x01, minor); - hci_close_dev(dd); + + set_major_and_minor_class(adapter, 0x01, minor); } static DBusConnection *connection; |