mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-08 07:35:04 +00:00
[PATCH] e100: added msleep_interruptible delay
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>
This commit is contained in:
parent
136df52d53
commit
a074fb8608
1 changed files with 2 additions and 0 deletions
|
@ -2108,6 +2108,8 @@ static void e100_diag_test(struct net_device *netdev,
|
||||||
}
|
}
|
||||||
for(i = 0; i < E100_TEST_LEN; i++)
|
for(i = 0; i < E100_TEST_LEN; i++)
|
||||||
test->flags |= data[i] ? ETH_TEST_FL_FAILED : 0;
|
test->flags |= data[i] ? ETH_TEST_FL_FAILED : 0;
|
||||||
|
|
||||||
|
msleep_interruptible(4 * 1000);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int e100_phys_id(struct net_device *netdev, u32 data)
|
static int e100_phys_id(struct net_device *netdev, u32 data)
|
||||||
|
|
Loading…
Add table
Reference in a new issue