]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Write multi_ap_backhaul_sta to wpa_supplicant config
authorDaniel Golle <daniel@makrotopia.org>
Wed, 23 Jan 2019 05:18:25 +0000 (06:18 +0100)
committerJouni Malinen <j@w1.fi>
Wed, 23 Jan 2019 22:27:12 +0000 (00:27 +0200)
The network configration option multi_ap_backhaul_sta was added without
adding it to wpa_config_write_network(). Hence the value of this option
was not included when writing the configuration file. Fix this by
including it in wpa_config_write_network().

Fixes: 5abc7823b ("wpa_supplicant: Add Multi-AP backhaul STA support")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
wpa_supplicant/config_file.c

index 85a3937252ce5cc96ba822df4b455deb40052c09..9b14699aefa9d0827f383e2f41a15e619d6feaa8 100644 (file)
@@ -891,6 +891,7 @@ static void wpa_config_write_network(FILE *f, struct wpa_ssid *ssid)
 #endif /* CONFIG_DPP */
        INT(owe_group);
        INT(owe_only);
+       INT(multi_ap_backhaul_sta);
 #ifdef CONFIG_HT_OVERRIDES
        INT_DEF(disable_ht, DEFAULT_DISABLE_HT);
        INT_DEF(disable_ht40, DEFAULT_DISABLE_HT40);