wpa_supplicant/hidl/sprd_1.2/sta_network.cpp
/**
 * Reset internal wpa_supplicant state machine state
 * after params update (except
 * bssid).
 */
Reset internal wpa_supplicant state machine state
after params update (except
bssid).
Reset internal wpa_supplicant state machine state after params update ( except bssid ) .
void StaNetwork::resetInternalStateAfterParamsUpdate()
{
	struct wpa_supplicant *wpa_s = retrieveIfacePtr();
	struct wpa_ssid *wpa_ssid = retrieveNetworkPtr();
	wpa_sm_pmksa_cache_flush(wpa_s->wpa, wpa_ssid);
	if (wpa_s->current_ssid == wpa_ssid || wpa_s->current_ssid == NULL) {
		eapol_sm_invalidate_cached_session(wpa_s->eapol);
	}
}
void StaNetwork :: resetInternalStateAfterParamsUpdate ( ) { struct wpa_supplicant * wpa_s = retrieveIfacePtr ( ) ; struct wpa_ssid * wpa_ssid = retrieveNetworkPtr ( ) ; wpa_sm_pmksa_cache_flush ( wpa_s -> wpa , wpa_ssid ) ; if ( wpa_s -> current_ssid == wpa_ssid || wpa_s -> current_ssid == NULL ) { eapol_sm_invalidate_cached_session ( wpa_s -> eapol ) ; } }
Reset internal wpa_supplicant state machine state
 after params update (except
 bssid).
Reset internal wpa_supplicant state machine state after params update ( except bssid ) .
/*
		 * Invalidate the EAP session cache if
		 * anything in the
		 * current or previously used
		 * configuration changes.
		 */