Lines Matching refs:wil
164 struct nwam_wlan_info_list *wil = data;
165 struct nwam_wlan_info **list = wil->list;
169 uint_t num_wlans = wil->num_wlans;
182 wil->list = newlist;
200 wil->num_wlans = num_wlans;
226 struct nwam_wlan_info_list wil = { NULL, 0};
232 if (nwam_walk_known_wlans(get_wlans_cb, &wil, iflags, &errval)
240 for (i = 0; i < wil.num_wlans; i++) {
243 for (j = 0; j < wil.num_wlans; j++) {
244 if (wil.list[j]->wlan_priority < minpriority &&
245 !(wil.list[j]->wlan_walked)) {
247 wil.list[j]->wlan_priority;
251 wil.list[minindex]->wlan_walked = B_TRUE;
253 (wil.list[minindex]->wlan_name,
266 if (wil.list != NULL) {
267 for (j = 0; j < wil.num_wlans; j++) {
268 free(wil.list[j]->wlan_name);
269 free(wil.list[j]);
271 free(wil.list);