diff --git a/src/script/multiap b/src/script/multiap index 83ee22df87b100a0dab69da7067ca9c660fb8ff6..72e2fc8fd2c3596810ae9b03ed7beb3c3e3d93d9 100755 --- a/src/script/multiap +++ b/src/script/multiap @@ -899,7 +899,6 @@ bsta_to_wireless() { else wpa_cli -i "$bsta" disconnect > /dev/null 2>&1 wpa_cli -i "$bsta" disable_network $network_id > /dev/null 2>&1 - echo 1 fi wpa_cli -i "$bsta" save_config > /dev/null 2>&1 } @@ -950,23 +949,9 @@ bsta_to_wireless() { fi } -# best=$(mapagent_find_lowest_prio_onboarded) -# -# [ -z "$best" ] && return -# -# band=$1 -# sec="" -# prio="" -# -# config_foreach mapagent_enable_best bsta $best -# uci commit mapagent config_load mapagent - - diff=$(config_foreach mapagent_bsta_to_wireless bsta) - -# [ "$diff" != "" ] && { - uci commit wireless -# } + config_foreach mapagent_bsta_to_wireless bsta + uci commit wireless }