- static int wpa_config_process_fast_reauth(struct wpa_config *config, char *pos)
- {
-@@ -445,6 +452,9 @@
- if (os_strncmp(pos, "ap_scan=", 8) == 0)
- return wpa_config_process_ap_scan(config, pos + 8);
-
-+ if (os_strncmp(pos, "scan_cache=", 11) == 0)
-+ return wpa_config_process_scan_cache(config, pos + 11);
-+
- if (os_strncmp(pos, "fast_reauth=", 12) == 0)
- return wpa_config_process_fast_reauth(config, pos + 12);
-
-@@ -810,6 +820,8 @@
+ static int wpa_config_parse_str(const struct global_parse_data *data,
+ struct wpa_config *config, int line,
+@@ -433,6 +440,7 @@ static const struct global_parse_data gl
+ #endif /* CONFIG_CTRL_IFACE */
+ { INT_RANGE(eapol_version, 1, 2) },
+ { INT(ap_scan) },
++ { INT(scan_cache) },
+ { INT(fast_reauth) },
+ #ifdef EAP_TLS_OPENSSL
+ { STR(opensc_engine_path) },
+@@ -834,6 +842,8 @@ static void wpa_config_write_global(FILE