]> err.no Git - linux-2.6/commitdiff
[PATCH] e100: added msleep_interruptible delay
authorMalli Chilakala <mallikarjuna.chilakala@intel.com>
Thu, 25 Aug 2005 20:05:57 +0000 (13:05 -0700)
committerJeff Garzik <jgarzik@pobox.com>
Thu, 25 Aug 2005 20:18:32 +0000 (16:18 -0400)
added msleep_interruptible delay right before returning from diag_test

Signed-off-by: Mallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com>
Signed-off-by: Ganesh Venkatesan <ganesh.venkatesan@intel.com>
Signed-off-by: John Ronciak <john.ronciak@intel.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/e100.c

index bff1354579287779e17aeabf0d419bb9d5186373..b723f4dca11e0da5c14fe8ab95534f37d989e57d 100644 (file)
@@ -2108,6 +2108,8 @@ static void e100_diag_test(struct net_device *netdev,
        }
        for(i = 0; i < E100_TEST_LEN; i++)
                test->flags |= data[i] ? ETH_TEST_FL_FAILED : 0;
+
+       msleep_interruptible(4 * 1000);
 }
 
 static int e100_phys_id(struct net_device *netdev, u32 data)