]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Do not flush PMKSA on bssid_hint change
authorPurushottam Kushwaha <pkushwah@qti.qualcomm.com>
Fri, 19 May 2017 18:24:10 +0000 (23:54 +0530)
committerJouni Malinen <j@w1.fi>
Mon, 22 May 2017 10:25:49 +0000 (13:25 +0300)
Change in any network configuration at runtime will cause flush to
PMKSA cache. For most of the network parameters if there is no change
in value, PMKSA flush is not performed except 'bssid' and 'priority'.

Add 'bssid_hint' to exemption list of avoiding PMKSA flush on change.
This is needed to complete change in commit
43a356b2687219b7a212df8ef21237b5ddf49f35 ('Provide option to configure
BSSID hint for a network').

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/ctrl_iface.c

index 8d10852c0266547dd06a62e561d8f46b068af7f2..10a23ca7d8d67c54fbda4a24643260d77992c320 100644 (file)
@@ -3174,6 +3174,7 @@ static int wpa_supplicant_ctrl_iface_update_network(
                return 0; /* No change to the previously configured value */
 
        if (os_strcmp(name, "bssid") != 0 &&
+           os_strcmp(name, "bssid_hint") != 0 &&
            os_strcmp(name, "priority") != 0) {
                wpa_sm_pmksa_cache_flush(wpa_s->wpa, ssid);