Parcourir la source

Store filter_rssi to configuration file

This was forgotten when the parameter was added.

Signed-off-by: Jouni Malinen <j@w1.fi>
Jouni Malinen il y a 8 ans
Parent
commit
58ed9e31d1
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      wpa_supplicant/config_file.c

+ 2 - 0
wpa_supplicant/config_file.c

@@ -1229,6 +1229,8 @@ static void wpa_config_write_global(FILE *f, struct wpa_config *config)
 			config->bss_expiration_scan_count);
 	if (config->filter_ssids)
 		fprintf(f, "filter_ssids=%d\n", config->filter_ssids);
+	if (config->filter_rssi)
+		fprintf(f, "filter_rssi=%d\n", config->filter_rssi);
 	if (config->max_num_sta != DEFAULT_MAX_NUM_STA)
 		fprintf(f, "max_num_sta=%u\n", config->max_num_sta);
 	if (config->disassoc_low_ack)