Searched refs:num_channels_to_copy (Results 1 – 1 of 1) sorted by relevance
290 int num_channels_to_copy = 0; in handleResponse() local303 num_channels_to_copy = it.get_u32(); in handleResponse()304 ALOGI("Got channel list with %d channels", num_channels_to_copy); in handleResponse()305 if(num_channels_to_copy > max_channels) in handleResponse()306 num_channels_to_copy = max_channels; in handleResponse()307 *num_channels = num_channels_to_copy; in handleResponse()308 } else if (it.get_type() == GSCAN_ATTRIBUTE_CHANNEL_LIST && num_channels_to_copy) { in handleResponse()309 memcpy(channels, it.get_data(), sizeof(int) * num_channels_to_copy); in handleResponse()