From 1fb73f0f8265aabbba6557c30130e4d014133623 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Fri, 25 May 2001 02:24:22 +0000 Subject: [PATCH] fixed overwriting of cb_mask. --- comedi/kcomedilib/kcomedilib_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.26.2