summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-11-23 08:07:30 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-11-23 08:07:30 +0000
commit5a2e23318e8daddeb251c546c47c485b0abcbb9f (patch)
treeaa63f487622039dd098a9860da7072af99b39f6e
parent836b4d9dbaf9b2859f58baa76cdc0a212d4592ef (diff)
modules/niu: fix usage of mbssid_support() in niulib
-rw-r--r--modules/niu/luasrc/niulib.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/niu/luasrc/niulib.lua b/modules/niu/luasrc/niulib.lua
index 2a4635553..aef542aa6 100644
--- a/modules/niu/luasrc/niulib.lua
+++ b/modules/niu/luasrc/niulib.lua
@@ -50,7 +50,7 @@ function wifi_get_available(except)
for k in pairs(used) do
local t = iwinfo.type(k)
if t and iwinfo[t] then
- used[k] = (iwinfo[t].mbssid_support() < 1)
+ used[k] = (iwinfo[t].mbssid_support(k) < 1)
end
end