]> Git Repo - J-u-boot.git/commit - env/flags.c
common/env_flags.c: Add function to validate a MAC address
authorCodrin Ciubotariu <[email protected]>
Wed, 9 Sep 2015 15:00:51 +0000 (18:00 +0300)
committerYork Sun <[email protected]>
Mon, 21 Sep 2015 15:29:47 +0000 (08:29 -0700)
commit0118e83ba4e1811515dc944a826758cad8a394b7
tree6231b27301056b7507bf17afc85b5570d2d5d559
parent68c929da6bf754ace639b2159e2d5b9e22323aaa
common/env_flags.c: Add function to validate a MAC address

The code that checks if a string has the format of a MAC address has been
moved to a separate function called eth_validate_ethaddr_str().

This has been done to allow other components (such as vsc9953 driver)
to validate a MAC address.

Signed-off-by: Codrin Ciubotariu <[email protected]>
Acked-by: Joe Hershberger <[email protected]>
Reviewed-by: York Sun <[email protected]>
common/env_flags.c
include/env_flags.h
This page took 0.033991 seconds and 4 git commands to generate.