projects
/
usb-driver
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80a1478
)
Always set return value for parallel ports
author
Michael Gernoth
<michael@gernoth.net>
Sun, 23 May 2010 15:40:11 +0000
(17:40 +0200)
committer
Michael Gernoth
<michael@gernoth.net>
Sun, 23 May 2010 15:40:11 +0000
(17:40 +0200)
This fixes a crash in ISE 12 but does not lead to working parallel
port suppoet
usb-driver.c
patch
|
blob
|
blame
|
history
diff --git
a/usb-driver.c
b/usb-driver.c
index 55a74637991af424a683168c3b29d1bef882fd6f..3bfeee5558f4c507b79f8e7a89679694c4b7e900 100644
(file)
--- a/
usb-driver.c
+++ b/
usb-driver.c
@@
-115,6
+115,7
@@
static int do_wdioctl(int fd, unsigned int request, unsigned char *wdioctl) {
#ifndef NO_WINDRVR
ret = (*ioctl_func) (fd, request, wdioctl);
#else
+ cr->hCard = 0;
pport = config_get((unsigned long)cr->Card.Item[0].I.IO.dwAddr / 0x10);
if (!pport)
Impressum
,
Datenschutz