forked from freifunk-franken/firmware
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:
parent
7a23e58208
commit
8a1eb6d4c8
|
@ -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"
|
||||
|
|
|
@ -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__
|
||||
|
|
Loading…
Reference in New Issue