Copy/paste bug fix for previos commit.

This commit is contained in:
Alexander Motin 2009-02-27 23:49:26 +00:00
parent d03c67b198
commit 8363eacca1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=189127

View File

@ -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;