diff --git a/src/chipset/scat.c b/src/chipset/scat.c index fe6c033cf..02610efa2 100644 --- a/src/chipset/scat.c +++ b/src/chipset/scat.c @@ -1235,7 +1235,7 @@ scat_in(uint16_t port, void *priv) break; default: - if (dev->index <= dev->max_reg) + if (dev->indx <= dev->max_reg) ret = dev->regs[dev->indx]; break; }