diff mbox series

wpa_supplicant: write multi_ap_backhaul_sta to config

Message ID 20190123051739.GA1031@makrotopia.org
State Accepted
Headers show
Series wpa_supplicant: write multi_ap_backhaul_sta to config | expand

Commit Message

Daniel Golle Jan. 23, 2019, 5:18 a.m. UTC
Commit 5abc7823b ("wpa_supplicant: Add Multi-AP backhaul STA support")
added a network configration option multi_ap_backhaul_sta but didn't
also add 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().

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
---
 wpa_supplicant/config_file.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Jouni Malinen Jan. 23, 2019, 11:38 p.m. UTC | #1
On Wed, Jan 23, 2019 at 06:18:25AM +0100, Daniel Golle wrote:
> Commit 5abc7823b ("wpa_supplicant: Add Multi-AP backhaul STA support")
> added a network configration option multi_ap_backhaul_sta but didn't
> also add 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().

Thanks, applied.
diff mbox series

Patch

diff --git a/wpa_supplicant/config_file.c b/wpa_supplicant/config_file.c
index 85a393725..715b9e289 100644
--- a/wpa_supplicant/config_file.c
+++ b/wpa_supplicant/config_file.c
@@ -883,6 +883,7 @@  static void wpa_config_write_network(FILE *f, struct wpa_ssid *ssid)
 	INT(wpa_ptk_rekey);
 	INT(group_rekey);
 	INT(ignore_broadcast_ssid);
+	INT(multi_ap_backhaul_sta);
 #ifdef CONFIG_DPP
 	STR(dpp_connector);
 	STR(dpp_netaccesskey);