Fix serialization when a tx interrupt isn't scheduled
authorErik Hallnor <ehallnor@umich.edu>
Thu, 15 Jul 2004 01:34:51 +0000 (21:34 -0400)
committerErik Hallnor <ehallnor@umich.edu>
Thu, 15 Jul 2004 01:34:51 +0000 (21:34 -0400)
dev/uart.cc:
    Fix serialization when a tx interrupt isn't scheduled.

--HG--
extra : convert_revision : 3029e284cbba417e3f453d83fdf2ef307d684916

dev/uart.cc

index 8ba59579dc0050de6a5dba2eeccb087128a99d2d..fca856d5dd5ee19c3d4306eaa0f589d6efdba0e1 100644 (file)
@@ -395,7 +395,7 @@ Uart::serialize(ostream &os)
     if (txIntrEvent.scheduled())
         txintrwhen = txIntrEvent.when();
     else
-        rxintrwhen = 0;
+        txintrwhen = 0;
      SERIALIZE_SCALAR(rxintrwhen);
      SERIALIZE_SCALAR(txintrwhen);
 #endif