fff-wireless: Also use wXmesh label for wXibss

The two different names "wXmesh" and "wXibss" have no functional
purpose and are just for indication. Remove this distinction, so
mesh is just mesh.

This will make further adjustment easier and clearer.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Reviewed-by: Fabian Bläse <fabian@blaese.de>
This commit is contained in:
Adrian Schmutzler 2019-06-16 16:23:23 +02:00
parent 7a23e58208
commit 8a1eb6d4c8
2 changed files with 3 additions and 3 deletions

View File

@ -54,7 +54,7 @@ if [ -s "$hoodfilewww" ] && isGatewayAvailable ; then
# Break: wXconfig is up
uci -q get "wireless.w${freq}configap" > /dev/null && continue
# Break: No mesh interface
(uci -q get "wireless.w${freq}mesh" > /dev/null || uci -q get "wireless.w${freq}ibss" > /dev/null) || continue
uci -q get "wireless.w${freq}mesh" > /dev/null || continue
# Create configap
iface="configap$freq"

View File

@ -100,9 +100,9 @@ wifiAddAdHocMesh() {
local bssid=$3
local channel=$(uci get "wireless.${radio}.channel")
local iface="w2ibss"
local iface="w2mesh"
if [ "$channel" -gt "14" ]; then
iface="w5ibss"
iface="w5mesh"
fi
uci batch <<-__EOF__