Lines 1-5
Link Here
|
1 |
--- bsd.c.orig Sun Jul 30 11:18:07 2006 |
1 |
--- bsd.c.orig Sun Jul 30 11:18:07 2006 |
2 |
+++ bsd.c Sun Jul 30 11:20:30 2006 |
2 |
+++ bsd.c Sun Jul 30 11:20:30 2006 |
|
|
3 |
@@ -408,7 +408,7 @@ |
4 |
/* Ensure the endpoint address is correct */ |
5 |
ep |= USB_ENDPOINT_IN; |
6 |
|
7 |
- fd = ensure_ep_open(dev, ep, O_RDONLY); |
8 |
+ fd = ensure_ep_open(dev, ep, O_RDONLY | O_NONBLOCK); |
9 |
if (fd < 0) { |
10 |
if (usb_debug >= 2) { |
11 |
#ifdef __FreeBSD_kernel__ |
3 |
@@ -623,9 +623,21 @@ |
12 |
@@ -623,9 +623,21 @@ |
4 |
|
13 |
|
5 |
int usb_clear_halt(usb_dev_handle *dev, unsigned int ep) |
14 |
int usb_clear_halt(usb_dev_handle *dev, unsigned int ep) |