Lines Matching refs:current_ssid
76 if (wpa_s->conf->ap_scan == 1 && wpa_s->current_ssid)
118 if (wpa_s->current_ssid && wpa_s->current_ssid != ssid)
120 old_ssid = wpa_s->current_ssid;
121 wpa_s->current_ssid = ssid;
122 wpa_supplicant_rsn_supp_set_config(wpa_s, wpa_s->current_ssid);
124 if (old_ssid != wpa_s->current_ssid)
192 wpa_s->current_ssid = NULL;
251 wpa_s->current_ssid &&
252 !(wpa_s->current_ssid->eapol_flags &
980 " wpa_state: %s ssid=%p current_ssid=%p",
984 ssid, wpa_s->current_ssid);
999 ssid != wpa_s->current_ssid)))) {
1074 if (wpa_s->current_ssid == NULL)
1076 if (wpa_s->current_ssid != ssid)
1082 if (wpa_s->current_ssid->ssid)
1084 wpa_s->current_ssid->ssid,
1085 wpa_s->current_ssid->ssid_len);
1105 if (wpa_s->current_ssid->bssid_set &&
1106 os_memcmp(selected->bssid, wpa_s->current_ssid->bssid, ETH_ALEN) ==
1578 if (p && wpa_s->current_ssid &&
1579 wpa_s->current_ssid->key_mgmt == WPA_KEY_MGMT_WPS) {
1695 struct wpa_ssid *ssid = wpa_s->current_ssid;
1710 if (!wpa_s->current_bss || !wpa_s->current_ssid)
1713 if (!wpa_key_mgmt_wpa_any(wpa_s->current_ssid->key_mgmt))
1775 if (wpa_s->current_ssid) {
1808 if (wpa_s->current_ssid) {
1813 wpa_supplicant_scard_init(wpa_s, wpa_s->current_ssid);
1838 (wpa_s->current_ssid &&
1839 wpa_s->current_ssid->mode == IEEE80211_MODE_IBSS)) {
1848 wpa_s->current_ssid);
1910 wpa_s->current_ssid &&
1913 wpa_set_wep_keys(wpa_s, wpa_s->current_ssid);
1917 if (wpa_s->current_ssid &&
1918 wpa_s->current_ssid->mode == WPAS_MODE_IBSS &&
1930 ibss_rsn_set_psk(wpa_s->ibss_rsn, wpa_s->current_ssid->psk);
2039 wpa_s->current_ssid &&
2040 wpa_s->current_ssid->mode == WPAS_MODE_INFRA &&
2051 fast_reconnect_ssid = wpa_s->current_ssid;
2085 last_ssid = wpa_s->current_ssid;
2090 wpa_s->current_ssid = last_ssid;
2355 ssid = wpa_s->current_ssid;
2368 struct wpa_ssid *ssid = wpa_s->current_ssid;
2702 if(!wpa_s->current_ssid) {
2703 wpa_printf(MSG_ERROR, "current_ssid == NULL");
2710 if(wpa_s->current_ssid->assoc_retry++ < 10) {
2712 wpa_s->current_ssid->assoc_retry);
2736 wpa_s->current_ssid->assoc_retry = 0;
2737 wpa_supplicant_disable_network(wpa_s, wpa_s->current_ssid);