summaryrefslogtreecommitdiffstats
path: root/usbmuxd/usb-linux.c
diff options
context:
space:
mode:
Diffstat (limited to 'usbmuxd/usb-linux.c')
-rw-r--r--usbmuxd/usb-linux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usbmuxd/usb-linux.c b/usbmuxd/usb-linux.c
index b401cde..44eba2c 100644
--- a/usbmuxd/usb-linux.c
+++ b/usbmuxd/usb-linux.c
@@ -138,7 +138,7 @@ int usb_send(struct usb_device *dev, const unsigned char *buf, int length)
138 libusb_free_transfer(xfer); 138 libusb_free_transfer(xfer);
139 return res; 139 return res;
140 } 140 }
141 collection_add(&dev->tx_xfers, xfer);/* 141 collection_add(&dev->tx_xfers, xfer);
142 if((length % 512) == 0) { 142 if((length % 512) == 0) {
143 usbmuxd_log(LL_DEBUG, "Send ZLP"); 143 usbmuxd_log(LL_DEBUG, "Send ZLP");
144 // Send Zero Length Packet 144 // Send Zero Length Packet
@@ -152,7 +152,7 @@ int usb_send(struct usb_device *dev, const unsigned char *buf, int length)
152 return res; 152 return res;
153 } 153 }
154 collection_add(&dev->tx_xfers, xfer); 154 collection_add(&dev->tx_xfers, xfer);
155 }*/ 155 }
156 return 0; 156 return 0;
157} 157}
158 158