projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5155c9
)
added initialization of async->cur_chan and cur_chanlist_len to comedi_command()
r0_7_61
author
Frank Mori Hess
<fmhess@speakeasy.net>
Fri, 16 Nov 2001 20:59:49 +0000
(20:59 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Fri, 16 Nov 2001 20:59:49 +0000
(20:59 +0000)
comedi/kcomedilib/kcomedilib_main.c
patch
|
blob
|
history
diff --git
a/comedi/kcomedilib/kcomedilib_main.c
b/comedi/kcomedilib/kcomedilib_main.c
index 08d5d7c1c4191abb46cddc8a67da3e6bb785683c..1f2b22996d1faacdb2642cc9d6d23a51e1a5f53f 100644
(file)
--- a/
comedi/kcomedilib/kcomedilib_main.c
+++ b/
comedi/kcomedilib/kcomedilib_main.c
@@
-398,6
+398,8
@@
int comedi_command(unsigned int minor,comedi_cmd *cmd)
async->data = cmd->data;
async->data_len = cmd->data_len;
+ async->cur_chan = 0;
+ async->cur_chanlist_len = cmd->chanlist_len;
return s->do_cmd(dev,s);
}