From 8363eacca16026bc748d04d904a01b0067412120 Mon Sep 17 00:00:00 2001 From: Alexander Motin Date: Fri, 27 Feb 2009 23:49:26 +0000 Subject: [PATCH] Copy/paste bug fix for previos commit. --- sys/dev/sound/pci/hda/hdac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/sound/pci/hda/hdac.c b/sys/dev/sound/pci/hda/hdac.c index 564a6da0da13..1f997f79acd1 100644 --- a/sys/dev/sound/pci/hda/hdac.c +++ b/sys/dev/sound/pci/hda/hdac.c @@ -4072,7 +4072,7 @@ hdac_attach(device_t dev) ); } - if (devid >= 0 && (hdac_devices[i].flags & HDAC_NO_MSI)) + if (devid >= 0 && (hdac_devices[devid].flags & HDAC_NO_MSI)) sc->flags &= ~HDAC_F_MSI; else sc->flags |= HDAC_F_MSI;