@@ -286,21 +312,19 @@ static int piusb_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
if(copy_from_user(uBuf,ctrl.pData,numbytes))
dbg("copying ctrl.pData to dummyBuf failed");
do{
i=usb_bulk_msg(pdx->udev,pdx->hEP[ctrl.endpoint],(uBuf+totalRead),(numToRead>64)?64:numToRead,&numbytes,HZ*10);//EP0 can only handle 64 bytes at a time
i=usb_bulk_msg(pdx->udev,pdx->hEP[ctrl.endpoint],(uBuf+totalRead),(numToRead>64)?64:numToRead,&numbytes,HZ*10);/* EP0 can only handle 64 bytes at a time */