test: fix keyboard capabilities
authorPeter Hutterer <peter.hutterer@who-t.net>
Mon, 24 Mar 2014 04:37:16 +0000 (14:37 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Mon, 24 Mar 2014 06:39:12 +0000 (16:39 +1000)
LITEST_KEYBOARD is the device type, not a feature.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test/litest-keyboard.c

index 5c142adf21a8aca458c217b130c413ec76829ff4..dd911587532add6d4b0634df0dbf6baba8b87f8b 100644 (file)
@@ -106,7 +106,7 @@ litest_create_keyboard(struct litest_device *d)
 
 struct litest_test_device litest_keyboard_device = {
        .type = LITEST_KEYBOARD,
-       .features = LITEST_KEYBOARD,
+       .features = LITEST_KEYS,
        .shortname = "default keyboard",
        .setup = litest_keyboard_setup,
        .teardown = litest_generic_device_teardown,