Merge pull request #2239 from dibdot/travelmate
luci-app-travelmate: fix wireless scan
This commit is contained in:
commit
c1cc626cc5
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ This is free software, licensed under the Apache License, Version 2.0
|
|||
if info.wep == true then
|
||||
return translate("WEP")
|
||||
elseif info.wpa > 0 then
|
||||
return "%s (%s/%s)" %{label[info.wpa], table.concat(info.auth_suites), table.concat(info.group_ciphers)}
|
||||
return "%s (%s/%s)" %{label[info.wpa] or translate("Unknown"), table.concat(info.auth_suites), table.concat(info.group_ciphers)}
|
||||
elseif info.enabled then
|
||||
return translate("Unknown")
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue