summaryrefslogtreecommitdiffstats
path: root/hw/usb-wacom.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/usb-wacom.c')
-rw-r--r--hw/usb-wacom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/usb-wacom.c b/hw/usb-wacom.c
index 46b8010..73ff241 100644
--- a/hw/usb-wacom.c
+++ b/hw/usb-wacom.c
@@ -306,7 +306,7 @@ static int usb_wacom_handle_data(USBDevice *dev, USBPacket *p)
switch (p->pid) {
case USB_TOKEN_IN:
- if (p->devep == 1) {
+ if (p->ep->nr == 1) {
if (!(s->changed || s->idle))
return USB_RET_NAK;
s->changed = 0;
OpenPOWER on IntegriCloud