Searched refs:chan_str (Results 1 – 1 of 1) sorted by relevance
214 static int wifi_utils_validate_chan_str(char *chan_str) in wifi_utils_validate_chan_str() argument218 if ((!chan_str) || (!strlen(chan_str))) { in wifi_utils_validate_chan_str()223 for (i = 0; i < strlen(chan_str); i++) { in wifi_utils_validate_chan_str()224 if (!isdigit((int)chan_str[i])) { in wifi_utils_validate_chan_str()225 NET_ERR("Invalid character in channel string %c\n", chan_str[i]); in wifi_utils_validate_chan_str()314 char chan_str[WIFI_UTILS_MAX_CHAN_STR_LEN] = {0}; in wifi_utils_parse_scan_chan() local369 strncpy(chan_str, in wifi_utils_parse_scan_chan()373 if (wifi_utils_validate_chan_str(chan_str)) { in wifi_utils_parse_scan_chan()378 chan_val = atoi(chan_str); in wifi_utils_parse_scan_chan()380 memset(chan_str, 0, sizeof(chan_str)); in wifi_utils_parse_scan_chan()