summaryrefslogtreecommitdiffhomepage
path: root/contrib/package/iwinfo/src/iwinfo.lua
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/package/iwinfo/src/iwinfo.lua')
-rwxr-xr-xcontrib/package/iwinfo/src/iwinfo.lua7
1 files changed, 5 insertions, 2 deletions
diff --git a/contrib/package/iwinfo/src/iwinfo.lua b/contrib/package/iwinfo/src/iwinfo.lua
index 1de43faafe..4a982dd994 100755
--- a/contrib/package/iwinfo/src/iwinfo.lua
+++ b/contrib/package/iwinfo/src/iwinfo.lua
@@ -62,7 +62,10 @@ function print_info(api, dev)
n(iw.bitrate(dev)) / 1000)
printf(" Encryption: %s",
- s(enc and enc.description))
+ s(enc and enc.description or "None"))
+
+ printf(" Supports VAPs: %s",
+ iw.mbssid_support(dev) and "yes" or "no")
print("")
end
@@ -85,7 +88,7 @@ function print_scan(api, dev)
s(se.signal), n(se.quality), n(se.quality_max))
printf(" Encryption: %s",
- s(se.encryption.description))
+ s(se.encryption.description or "None"))
print("")
end