vserver 1.9.3
[linux-2.6.git] / arch / ppc64 / kernel / iSeries_pci_reset.c
index e1e48c3..8848ece 100644 (file)
@@ -65,7 +65,8 @@ int iSeries_Device_ToggleReset(struct pci_dev *PciDev, int AssertTime,
                AssertDelay = (5 * HZ) / 10;
        else
                AssertDelay = (AssertTime * HZ) / 10;
-       if (WaitDelay == 0)
+
+       if (DelayTime == 0)
                WaitDelay = (30 * HZ) / 10;
        else
                WaitDelay = (DelayTime * HZ) / 10;