summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUri Lublin <uril@redhat.com>2012-05-01 14:47:00 +0100
committerPete Batard <pete@akeo.ie>2012-05-01 20:41:53 +0100
commitec1cc1cc5c2766c802cfb326636687c0a9459e0b (patch)
treefb8f88a9bca38d2f274c203c308c5344b3eeded1
parent00d61a396c2e579caed927bcfae692e66f4dccc7 (diff)
downloadlibusb-ec1cc1cc5c2766c802cfb326636687c0a9459e0b.tar.gz
Windows: Fix removal of usbi_fd_notification calls in submit_*_transfer
Commit 4cccbed825fe1dc13812 accidentally removed those calls, when ! ifdef DYNAMIC_FDS blocks were removed.
-rw-r--r--libusb/os/windows_usb.c3
-rw-r--r--libusb/version.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/libusb/os/windows_usb.c b/libusb/os/windows_usb.c
index 709157a..1957964 100644
--- a/libusb/os/windows_usb.c
+++ b/libusb/os/windows_usb.c
@@ -1770,6 +1770,7 @@ static int submit_bulk_transfer(struct usbi_transfer *itransfer)
usbi_add_pollfd(ctx, transfer_priv->pollable_fd.fd,
(short)(IS_XFERIN(transfer) ? POLLIN : POLLOUT));
+ usbi_fd_notification(ctx);
return LIBUSB_SUCCESS;
}
@@ -1789,6 +1790,7 @@ static int submit_iso_transfer(struct usbi_transfer *itransfer)
usbi_add_pollfd(ctx, transfer_priv->pollable_fd.fd,
(short)(IS_XFERIN(transfer) ? POLLIN : POLLOUT));
+ usbi_fd_notification(ctx);
return LIBUSB_SUCCESS;
}
@@ -1807,6 +1809,7 @@ static int submit_control_transfer(struct usbi_transfer *itransfer)
usbi_add_pollfd(ctx, transfer_priv->pollable_fd.fd, POLLIN);
+ usbi_fd_notification(ctx);
return LIBUSB_SUCCESS;
}
diff --git a/libusb/version.h b/libusb/version.h
index e20a303..3862ed5 100644
--- a/libusb/version.h
+++ b/libusb/version.h
@@ -9,7 +9,7 @@
#define LIBUSB_MICRO 10
#endif
#ifndef LIBUSB_NANO
-#define LIBUSB_NANO 10485
+#define LIBUSB_NANO 10486
#endif
/* LIBUSB_RC is the release candidate suffix. Should normally be empty. */
#ifndef LIBUSB_RC