software/drivers/sd8887/src/wlan/mlan/mlan_cmdevt.c
/**
 *  @brief This function convert a given string to hex
 *
 *  @param a            A pointer to string to be converted
 *
 *  @return             The converted hex value if param a is a valid hex, else 0
 */
@brief This function convert a given string to hex
@param a            A pointer to string to be converted

@return             The converted hex value if param a is a valid hex, else 0
@brief This function convert a given string to hex @param a A pointer to string to be converted @return The converted hex value if param a is a valid hex else 0
int
wlan_atox(t_u8 *a)
{
	int i = 0;
	ENTER();
	while (wlan_isxdigit(*a))
		i = i * 16 + wlan_hexval(*a++);
	LEAVE();
	return i;
}
int wlan_atox ( t_u8 * a ) { int i = 0 ; ENTER ( ) ; while ( wlan_isxdigit ( * a ) ) i = i * 16 + wlan_hexval ( * a ++ ) ; LEAVE ( ) ; return i ; }
@brief This function convert a given string to hex
  @param a            A pointer to string to be converted
@brief This function convert a given string to hex @param a A pointer to string to be converted