]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Do not clear global pmf setting on FLUSH
authorJouni Malinen <jouni@qca.qualcomm.com>
Mon, 27 Jan 2014 16:30:40 +0000 (18:30 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 25 Feb 2014 23:24:22 +0000 (01:24 +0200)
This parameter was actually used in some testing cases in a way that did
not really work well with the FLUSH command ending up disabling PMF.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>

wpa_supplicant/ctrl_iface.c

index 1fbbddae188e1012901d96fbdd942793d7c13821..7dce679227de85ac12cbba02aa573b11218b9985 100644 (file)
@@ -5454,7 +5454,6 @@ static void wpa_supplicant_ctrl_iface_flush(struct wpa_supplicant *wpa_s)
        wpa_config_flush_blobs(wpa_s->conf);
        wpa_s->conf->auto_interworking = 0;
        wpa_s->conf->okc = 0;
-       wpa_s->conf->pmf = 0;
 
        wpa_sm_set_param(wpa_s->wpa, RSNA_PMK_LIFETIME, 43200);
        wpa_sm_set_param(wpa_s->wpa, RSNA_PMK_REAUTH_THRESHOLD, 70);