wifisettings

This commit is contained in:
Martin Geno 2016-06-29 02:14:34 +02:00
parent e98c479cf3
commit 83cdf4e199

View File

@ -48,7 +48,7 @@ func (api *ApiAliases) cleaner() {
count -= 1 count -= 1
} }
} }
if nodeinfo.Wireless != nil { if nodeinfo.Wireless != nil && alias.Wireless != nil {
count += 4 count += 4
if alias.Wireless.Channel24 == nodeinfo.Wireless.Channel24 { if alias.Wireless.Channel24 == nodeinfo.Wireless.Channel24 {
count -= 1 count -= 1