From 7044c6bb69ca654a229c208065f5b0777f05af5f Mon Sep 17 00:00:00 2001 From: Joe Hershberger Date: Wed, 8 Apr 2015 01:41:09 -0500 Subject: net: cosmetic: Clean up DHCP variables and functions Make a thorough pass through all variables and function names contained within bootp.c and remove CamelCase and improve naming. Signed-off-by: Joe Hershberger Acked-by: Simon Glass --- net/net.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'net/net.c') diff --git a/net/net.c b/net/net.c index 9a4290b..f740052 100644 --- a/net/net.c +++ b/net/net.c @@ -381,16 +381,16 @@ restart: #endif #if defined(CONFIG_CMD_DHCP) case DHCP: - BootpReset(); + bootp_reset(); net_ip.s_addr = 0; - DhcpRequest(); /* Basically same as BOOTP */ + dhcp_request(); /* Basically same as BOOTP */ break; #endif case BOOTP: - BootpReset(); + bootp_reset(); net_ip.s_addr = 0; - BootpRequest(); + bootp_request(); break; #if defined(CONFIG_CMD_RARP) -- cgit v1.1