]> git.proxmox.com Git - qemu.git/blobdiff - hw/usb/dev-smartcard-reader.c
monitor: move include files to include/monitor/
[qemu.git] / hw / usb / dev-smartcard-reader.c
index 190fcd62d4ed3b38bd5e02d8d249e09b0438fae0..3862c9b6c976ac46e59b29dadd8e7bcfa66f8825 100644 (file)
@@ -38,7 +38,7 @@
 #include "qemu-error.h"
 #include "hw/usb.h"
 #include "hw/usb/desc.h"
-#include "monitor.h"
+#include "monitor/monitor.h"
 
 #include "hw/ccid.h"
 
@@ -1002,6 +1002,8 @@ static void ccid_handle_data(USBDevice *dev, USBPacket *p)
                         "handle_data: int_in: notify_slot_change %X, "
                         "requested len %zd\n",
                         s->bmSlotICCState, p->iov.size);
+            } else {
+                p->status = USB_RET_NAK;
             }
             break;
         default: