summaryrefslogtreecommitdiff
path: root/libdhcp/dhcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdhcp/dhcp.c')
-rw-r--r--libdhcp/dhcp.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/libdhcp/dhcp.c b/libdhcp/dhcp.c
index 77f4b61..e638496 100644
--- a/libdhcp/dhcp.c
+++ b/libdhcp/dhcp.c
@@ -595,18 +595,11 @@ static int8_t dhcp_check_leasedIP(implements_net_udpsock *sock) {
uint8_t tmp;
int32_t ret;
- /* WIZchip RCR value changed for ARP Timeout count control */
- tmp = getRCR();
- setRCR(0x03);
-
/* IP conflict detection : ARP request - ARP reply */
/* Broadcasting ARP Request for check the IP conflict using UDP sendto() function */
ret = sendto(sock, "CHECK_IP_CONFLICT", 17, global_lease.addr, 5000);
- /* RCR value restore */
- setRCR(tmp);
-
- if(ret == SOCKERR_TIMEOUT) {
+ if (ret == SOCKERR_TIMEOUT) {
/* UDP send Timeout occurred : allocated IP address is unique, DHCP Success */
debugf("\r\n> Check leased IP - OK");