summaryrefslogtreecommitdiff
path: root/net/sntp.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sntp.c')
-rw-r--r--net/sntp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sntp.c b/net/sntp.c
index 95e75422c10..425d35edd88 100644
--- a/net/sntp.c
+++ b/net/sntp.c
@@ -14,7 +14,7 @@
#if defined(CONFIG_CMD_NET) && defined(CONFIG_CMD_SNTP)
-#define SNTP_TIMEOUT 10
+#define SNTP_TIMEOUT 10000UL
static int SntpOurPort;
@@ -82,7 +82,7 @@ SntpStart (void)
{
debug ("%s\n", __FUNCTION__);
- NetSetTimeout (SNTP_TIMEOUT * CFG_HZ, SntpTimeout);
+ NetSetTimeout (SNTP_TIMEOUT, SntpTimeout);
NetSetHandler(SntpHandler);
memset (NetServerEther, 0, 6);