Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > 9f1122e3cc91315900f36ea9a01e5fff > files > 8

dkms-et131x-1.2.3-2.1mdv2008.0.src.rpm

Fix timer issue, see https://qa.mandriva.com/show_bug.cgi?id=42666
Patch and report help from Bill Unruh

diff -p -up et131x-1.2.3/et131x_initpci.c.orig et131x-1.2.3/et131x_initpci.c
--- et131x-1.2.3/et131x_initpci.c.orig	2007-02-20 18:57:53.000000000 -0200
+++ et131x-1.2.3/et131x_initpci.c	2008-08-20 17:17:31.000000000 -0300
@@ -573,7 +573,7 @@ void et131x_error_timer_handler( unsigne
     /**************************************************************************
        This is a periodic timer, so reschedule
      *************************************************************************/
-    add_timer( &pAdapter->ErrorTimer );
+    mod_timer( &pAdapter->ErrorTimer, jiffies + HZ );
 
     return;
 }