diff options
-rw-r--r-- | sys/dev/sound/pci/hda/hdac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/pci/hda/hdac.c b/sys/dev/sound/pci/hda/hdac.c index 564a6da..1f997f7 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; |