mirror of https://git.openwrt.org/project/luci.git
contrib/meshwizard: fix for last commit
This commit is contained in:
parent
51fa41e942
commit
2c480459e0
|
@ -11,9 +11,9 @@ community=$2
|
||||||
# Try to get BSSID from profile first
|
# Try to get BSSID from profile first
|
||||||
config_load profile_$community
|
config_load profile_$community
|
||||||
config_get bssid bssidscheme $channel
|
config_get bssid bssidscheme $channel
|
||||||
config_get bssid_all bssidscheme "all"
|
config_get bssid_all bssidscheme "all" && bssid="$bssid_all"
|
||||||
|
|
||||||
if [ -z "$bssid" ] && [ -z "$bssid_all" ]; then
|
if [ -z "$bssid" ]; then
|
||||||
case $channel in
|
case $channel in
|
||||||
[1-9])
|
[1-9])
|
||||||
bssid="$(printf "%X\n" $channel)2:CA:FF:EE:BA:BE"
|
bssid="$(printf "%X\n" $channel)2:CA:FF:EE:BA:BE"
|
||||||
|
|
Loading…
Reference in New Issue