diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-09-29 12:18:39 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-09-29 12:18:39 +0200 |
commit | c791fde2d5cfe6fd93e1a88c47808842e7fe17a4 (patch) | |
tree | e6a56bcba8130ed4fb37f29ca9987b712d5dcf2c /plugins | |
parent | a81886773ef4bda574248d9d3a7942d9f6c04dbc (diff) | |
download | bluez-c791fde2d5cfe6fd93e1a88c47808842e7fe17a4.tar.gz |
Set major and minor class in one go
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/hal.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/hal.c b/plugins/hal.c index 907c1cb7b..130c76def 100644 --- a/plugins/hal.c +++ b/plugins/hal.c @@ -79,8 +79,7 @@ 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_class(dd, cls, 0x01); - set_minor_class(dd, cls, minor); + set_major_and_minor_class(dd, cls, 0x01, minor); hci_close_dev(dd); } |