modules/niu: fix usage of mbssid_support() in niulib
[project/luci.git] / modules / niu / luasrc / niulib.lua
index 2a46355..aef542a 100644 (file)
@@ -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