Lines Matching defs:cand
354 struct rsn_pmksa_candidate *cand, *pos;
368 cand = NULL;
372 cand = pos;
377 if (cand) {
378 dl_list_del(&cand->list);
380 cand->priority = prio;
382 cand = os_zalloc(sizeof(*cand));
383 if (cand == NULL)
385 os_memcpy(cand->bssid, bssid, ETH_ALEN);
386 cand->priority = prio;
393 if (cand->priority <= pos->priority) {
394 dl_list_add(pos->list.prev, &cand->list);
395 cand = NULL;
399 if (cand)
400 dl_list_add_tail(&sm->pmksa_candidates, &cand->list);