From: David Schleef Date: Fri, 25 May 2001 02:24:22 +0000 (+0000) Subject: fixed overwriting of cb_mask. X-Git-Tag: r0_7_59~25 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1fb73f0f8265aabbba6557c30130e4d014133623;p=comedi.git fixed overwriting of cb_mask. --- diff --git a/comedi/kcomedilib/kcomedilib_main.c b/comedi/kcomedilib/kcomedilib_main.c index 3443c5df..0e67b43a 100644 --- a/comedi/kcomedilib/kcomedilib_main.c +++ b/comedi/kcomedilib/kcomedilib_main.c @@ -377,7 +377,7 @@ int comedi_command(unsigned int minor,comedi_cmd *cmd) if(async == NULL) return -ENODEV; - async->cb_mask = COMEDI_CB_EOA|COMEDI_CB_BLOCK|COMEDI_CB_ERROR; + async->cb_mask |= COMEDI_CB_EOA|COMEDI_CB_BLOCK|COMEDI_CB_ERROR; async->cmd=*cmd;