Lines Matching refs:stale
3980 struct wpa_ssid *persistent_go, *stale, *s = NULL; in wpas_p2ps_prov_complete() local
4063 stale = wpas_p2p_get_persistent(wpa_s, dev, NULL, 0); in wpas_p2ps_prov_complete()
4064 if (!stale) in wpas_p2ps_prov_complete()
4067 if (s && s->ssid_len == stale->ssid_len && in wpas_p2ps_prov_complete()
4068 os_memcmp(stale->bssid, s->bssid, ETH_ALEN) == 0 && in wpas_p2ps_prov_complete()
4069 os_memcmp(stale->ssid, s->ssid, s->ssid_len) == 0) in wpas_p2ps_prov_complete()
4073 if (stale->mode != WPAS_MODE_P2P_GO || in wpas_p2ps_prov_complete()
4074 stale->num_p2p_clients <= 1) { in wpas_p2ps_prov_complete()
4075 wpa_config_remove_network(wpa_s->conf, stale->id); in wpas_p2ps_prov_complete()
4079 for (i = 0; i < stale->num_p2p_clients; i++) { in wpas_p2ps_prov_complete()
4080 if (os_memcmp(stale->p2p_client_list + in wpas_p2ps_prov_complete()
4083 os_memmove(stale->p2p_client_list + in wpas_p2ps_prov_complete()
4085 stale->p2p_client_list + in wpas_p2ps_prov_complete()
4087 (stale->num_p2p_clients - in wpas_p2ps_prov_complete()
4092 stale->num_p2p_clients--; in wpas_p2ps_prov_complete()