summaryrefslogtreecommitdiff
path: root/net/net.c
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2015-04-08 01:41:09 -0500
committerSimon Glass <sjg@chromium.org>2015-04-18 11:11:33 -0600
commit7044c6bb69ca654a229c208065f5b0777f05af5f (patch)
tree22975435e95a72643735433656f62ce23b4a509d /net/net.c
parent85d25e0e7630a61bdbf2d4e8b1991e3cc6c96d65 (diff)
downloadu-boot-7044c6bb69ca654a229c208065f5b0777f05af5f.tar.gz
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 <joe.hershberger@ni.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'net/net.c')
-rw-r--r--net/net.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/net.c b/net/net.c
index 9a4290b77b..f740052881 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)