Searched refs:max_num (Results 1 – 2 of 2) sorted by relevance
519 unsigned int pos, max_num = 0; in wpas_supp_op_classes() local523 max_num++; in wpas_supp_op_classes()524 classes = os_zalloc((max_num + 1) * sizeof(int)); in wpas_supp_op_classes()
11171 unsigned int num, max_num; in preferred_freq_info_handler() local11209 max_num = nla_len(attr) / sizeof(u32); in preferred_freq_info_handler()11210 if (max_num > param->num) in preferred_freq_info_handler()11211 max_num = param->num; in preferred_freq_info_handler()11212 for (num = 0; num < max_num; num++) in preferred_freq_info_handler()