From: Malli Chilakala Date: Thu, 25 Aug 2005 20:05:57 +0000 (-0700) Subject: [PATCH] e100: added msleep_interruptible delay X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a074fb860846937a4a46dbbf439cbbb2e2ba960c;p=openwrt%2Fstaging%2Fblogic.git [PATCH] e100: added msleep_interruptible delay added msleep_interruptible delay right before returning from diag_test Signed-off-by: Mallikarjuna R Chilakala Signed-off-by: Ganesh Venkatesan Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/e100.c b/drivers/net/e100.c index bff135457928..b723f4dca11e 100644 --- a/drivers/net/e100.c +++ b/drivers/net/e100.c @@ -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)