Lines Matching refs:cwork
834 struct wpa_connect_work *cwork = work->ctx; in sme_auth_start_cb() local
841 wpas_connect_work_free(cwork); in sme_auth_start_cb()
847 if (cwork->bss_removed || in sme_auth_start_cb()
848 !wpas_valid_bss_ssid(wpa_s, cwork->bss, cwork->ssid) || in sme_auth_start_cb()
849 wpas_network_disabled(wpa_s, cwork->ssid)) { in sme_auth_start_cb()
859 sme_send_authentication(wpa_s, cwork->bss, cwork->ssid, 1); in sme_auth_start_cb()
866 struct wpa_connect_work *cwork; in sme_authenticate() local
888 cwork = os_zalloc(sizeof(*cwork)); in sme_authenticate()
889 if (cwork == NULL) in sme_authenticate()
891 cwork->bss = bss; in sme_authenticate()
892 cwork->ssid = ssid; in sme_authenticate()
893 cwork->sme = 1; in sme_authenticate()
902 sme_auth_start_cb, cwork) < 0) in sme_authenticate()
903 wpas_connect_work_free(cwork); in sme_authenticate()