From 58ed9e31d110ea47ad0b077396a4d28882869e0c Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sat, 7 Jan 2017 23:57:39 +0200 Subject: [PATCH] Store filter_rssi to configuration file This was forgotten when the parameter was added. Signed-off-by: Jouni Malinen --- wpa_supplicant/config_file.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wpa_supplicant/config_file.c b/wpa_supplicant/config_file.c index 8a3bb32a8..dc6aade2f 100644 --- a/wpa_supplicant/config_file.c +++ b/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)