From: Frank Mori Hess Date: Wed, 1 Aug 2007 13:19:14 +0000 (+0000) Subject: Set SRF_RUNNING in runflags instead of SDF_RUNNING in subdev_flags. X-Git-Tag: r0_7_74~8 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=92abd10cc9a07bb506132b8ec002bb57f4035969;p=comedi.git Set SRF_RUNNING in runflags instead of SDF_RUNNING in subdev_flags. --- diff --git a/comedi/kcomedilib/kcomedilib_main.c b/comedi/kcomedilib/kcomedilib_main.c index 416e42ec..3fe686ca 100644 --- a/comedi/kcomedilib/kcomedilib_main.c +++ b/comedi/kcomedilib/kcomedilib_main.c @@ -146,8 +146,7 @@ int comedi_command(comedi_t *d,comedi_cmd *cmd) s->runflags |= SRF_RT; comedi_switch_to_rt(dev); - - s->subdev_flags |= SDF_RUNNING; + comedi_set_subdevice_runflags(s, SRF_RUNNING, SRF_RUNNING); comedi_reset_async_buf( async );