diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-09-29 12:00:57 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-09-29 12:00:57 +0200 |
commit | 993a8c55125f988f34a0471d4cf9a99bb7460d90 (patch) | |
tree | 19c695c9d1eea3726f14c5bf27e1a2f29f22236a | |
parent | 39e01cefe9270cc0c1277c0bfe79e586575e3d4a (diff) |
Use correct value for major class
-rw-r--r-- | plugins/hal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/hal.c b/plugins/hal.c index 3b914f2d..907c1cb7 100644 --- a/plugins/hal.c +++ b/plugins/hal.c @@ -79,7 +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, (1 << 8)); + set_major_class(dd, cls, 0x01); set_minor_class(dd, cls, minor); hci_close_dev(dd); |