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>
This commit is contained in:
Joe Hershberger 2015-04-08 01:41:09 -05:00 committed by Simon Glass
parent 85d25e0e76
commit 7044c6bb69
3 changed files with 69 additions and 72 deletions

View file

@ -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)