aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/ctrl_iface.c
diff options
context:
space:
mode:
authorPurushottam Kushwaha <pkushwah@qti.qualcomm.com>2017-05-19 18:24:10 (GMT)
committerJouni Malinen <j@w1.fi>2017-05-22 10:25:49 (GMT)
commit34ee12c559a1838ccedabce04602997e0bac2911 (patch)
tree1a8145de11783688513321defd73f2d0dba4d3a4 /wpa_supplicant/ctrl_iface.c
parent290834df69556b903b49f2a45671cc62b44f13bb (diff)
downloadhostap-34ee12c559a1838ccedabce04602997e0bac2911.zip
hostap-34ee12c559a1838ccedabce04602997e0bac2911.tar.gz
hostap-34ee12c559a1838ccedabce04602997e0bac2911.tar.bz2
Do not flush PMKSA on bssid_hint change
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>
Diffstat (limited to 'wpa_supplicant/ctrl_iface.c')
-rw-r--r--wpa_supplicant/ctrl_iface.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/ctrl_iface.c b/wpa_supplicant/ctrl_iface.c
index 8d10852..10a23ca 100644
--- a/wpa_supplicant/ctrl_iface.c
+++ b/wpa_supplicant/ctrl_iface.c
@@ -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);