summary refs log tree commit diff stats
path: root/hw/usb/dev-wacom.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/usb/dev-wacom.c')
-rw-r--r--hw/usb/dev-wacom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/usb/dev-wacom.c b/hw/usb/dev-wacom.c
index 1b092358f9..1b73fd0aab 100644
--- a/hw/usb/dev-wacom.c
+++ b/hw/usb/dev-wacom.c
@@ -107,7 +107,7 @@ static const USBDescDevice desc_device_wacom = {
         {
             .bNumInterfaces        = 1,
             .bConfigurationValue   = 1,
-            .bmAttributes          = 0x80,
+            .bmAttributes          = USB_CFG_ATT_ONE,
             .bMaxPower             = 40,
             .nif = 1,
             .ifs = &desc_iface_wacom,