]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
FT: Fix writing of ft_prepend_pmkid configuration parameter
authorShivani Baranwal <quic_shivbara@quicinc.com>
Mon, 5 Aug 2024 09:33:03 +0000 (15:03 +0530)
committerJouni Malinen <j@w1.fi>
Tue, 27 Aug 2024 07:51:56 +0000 (10:51 +0300)
This was missing a newline at the end of the line.

Fixes: 8fa52a797496 ("FT: Allow wpa_supplicant to be configured to prepend PMKR1Name")
Signed-off-by: Shivani Baranwal <quic_shivbara@quicinc.com>
wpa_supplicant/config_file.c

index fd8eafe2b0e4521bbb5593dd3b717bc02714d49d..782bd7f850462c7e38a870e41feb3a69e7b8d4f4 100644 (file)
@@ -1628,7 +1628,7 @@ static void wpa_config_write_global(FILE *f, struct wpa_config *config)
                        MAC2STR(config->mld_connect_bssid_pref));
 #endif /* CONFIG_TESTING_OPTIONS */
        if (config->ft_prepend_pmkid)
-               fprintf(f, "ft_prepend_pmkid=%d", config->ft_prepend_pmkid);
+               fprintf(f, "ft_prepend_pmkid=%d\n", config->ft_prepend_pmkid);
 }
 
 #endif /* CONFIG_NO_CONFIG_WRITE */