summaryrefslogtreecommitdiff
path: root/nuttx/net/arp/arp_send.c
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-08-19 08:37:14 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-08-19 08:37:14 -0600
commit0f312da354e277b94ff232c4b69f11014d8852ba (patch)
treed4b8d3956fca388348f75f554b3f55ceb9826b83 /nuttx/net/arp/arp_send.c
parentbb0aeaa0faed7e7b2e1bb4def9007dbd237730c9 (diff)
downloadnuttx-0f312da354e277b94ff232c4b69f11014d8852ba.tar.gz
nuttx-0f312da354e277b94ff232c4b69f11014d8852ba.tar.bz2
nuttx-0f312da354e277b94ff232c4b69f11014d8852ba.zip
ARP: Fix bid conversion from msec to nsec
Diffstat (limited to 'nuttx/net/arp/arp_send.c')
-rw-r--r--nuttx/net/arp/arp_send.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/net/arp/arp_send.c b/nuttx/net/arp/arp_send.c
index a94415c07..b0feb45e9 100644
--- a/nuttx/net/arp/arp_send.c
+++ b/nuttx/net/arp/arp_send.c
@@ -65,7 +65,7 @@
#define CONFIG_ARP_SEND_DELAYSEC \
(CONFIG_ARP_SEND_DELAYMSEC / 1000)
#define CONFIG_ARP_SEND_DELAYNSEC \
- ((CONFIG_ARP_SEND_DELAYMSEC - 1000*CONFIG_ARP_SEND_DELAYSEC) / 1000000)
+ ((CONFIG_ARP_SEND_DELAYMSEC - 1000*CONFIG_ARP_SEND_DELAYSEC) * 1000000)
/****************************************************************************
* Private Types