Lines Matching refs:candidate
302 struct rsn_pmksa_candidate *candidate, *n; in rsn_preauth_candidate_process() local
323 dl_list_for_each_safe(candidate, n, &sm->pmksa_candidates, in rsn_preauth_candidate_process()
326 p = pmksa_cache_get(sm->pmksa, candidate->bssid, NULL, NULL); in rsn_preauth_candidate_process()
327 if (os_memcmp(sm->bssid, candidate->bssid, ETH_ALEN) != 0 && in rsn_preauth_candidate_process()
332 MAC2STR(candidate->bssid)); in rsn_preauth_candidate_process()
333 dl_list_del(&candidate->list); in rsn_preauth_candidate_process()
334 rsn_preauth_init(sm, candidate->bssid, in rsn_preauth_candidate_process()
336 os_free(candidate); in rsn_preauth_candidate_process()
341 MAC2STR(candidate->bssid)); in rsn_preauth_candidate_process()
345 wpa_sm_add_pmkid(sm, candidate->bssid, p->pmkid); in rsn_preauth_candidate_process()
348 dl_list_del(&candidate->list); in rsn_preauth_candidate_process()
349 os_free(candidate); in rsn_preauth_candidate_process()