From afadf0af370b593320a0fd577a01b7fc5ef7d1be Mon Sep 17 00:00:00 2001 From: David Schleef Date: Thu, 9 Mar 2000 22:04:38 +0000 Subject: [PATCH] dev->board bugfix --- comedi/drivers.c | 1 + 1 file changed, 1 insertion(+) diff --git a/comedi/drivers.c b/comedi/drivers.c index c64192ec..727972bf 100644 --- a/comedi/drivers.c +++ b/comedi/drivers.c @@ -95,6 +95,7 @@ int comedi_device_attach(comedi_device *dev,comedi_devconfig *it) if(strcmp(driv->driver_name,it->board_name)) continue; } + dev->board = i; ret=driv->attach(dev,it); if(ret<0){ driv->detach(dev); -- 2.26.2