Searched refs:num_channels_to_copy (Results 1 – 1 of 1) sorted by relevance
309 int num_channels_to_copy = 0; in handleResponse() local322 num_channels_to_copy = it.get_u32(); in handleResponse()323 ALOGI("Got channel list with %d channels", num_channels_to_copy); in handleResponse()324 if(num_channels_to_copy > max_channels) in handleResponse()325 num_channels_to_copy = max_channels; in handleResponse()326 *num_channels = num_channels_to_copy; in handleResponse()327 } else if (it.get_type() == GSCAN_ATTRIBUTE_CHANNEL_LIST && num_channels_to_copy) { in handleResponse()328 memcpy(channels, it.get_data(), sizeof(int) * num_channels_to_copy); in handleResponse()