Lines Matching refs:cwork
1832 void wpas_connect_work_free(struct wpa_connect_work *cwork) in wpas_connect_work_free() argument
1834 if (cwork == NULL) in wpas_connect_work_free()
1836 os_free(cwork); in wpas_connect_work_free()
1842 struct wpa_connect_work *cwork; in wpas_connect_work_done() local
1849 cwork = work->ctx; in wpas_connect_work_done()
1851 wpas_connect_work_free(cwork); in wpas_connect_work_done()
1931 struct wpa_connect_work *cwork; in wpa_supplicant_associate() local
2090 cwork = os_zalloc(sizeof(*cwork)); in wpa_supplicant_associate()
2091 if (cwork == NULL) in wpa_supplicant_associate()
2094 cwork->bss = bss; in wpa_supplicant_associate()
2095 cwork->ssid = ssid; in wpa_supplicant_associate()
2098 wpas_start_assoc_cb, cwork) < 0) { in wpa_supplicant_associate()
2099 os_free(cwork); in wpa_supplicant_associate()
3008 struct wpa_connect_work *cwork = work->ctx; in wpas_start_assoc_cb() local
3009 struct wpa_bss *bss = cwork->bss; in wpas_start_assoc_cb()
3010 struct wpa_ssid *ssid = cwork->ssid; in wpas_start_assoc_cb()
3037 wpas_connect_work_free(cwork); in wpas_start_assoc_cb()
3043 if (cwork->bss_removed || !wpas_valid_bss_ssid(wpa_s, bss, ssid) || in wpas_start_assoc_cb()