modules/niu: fix usage of mbssid_support() in niulib
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 23 Nov 2009 08:07:30 +0000 (08:07 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 23 Nov 2009 08:07:30 +0000 (08:07 +0000)
modules/niu/luasrc/niulib.lua

index 2a46355531004422d9a7ea2b9d24a9b47fb06ada..aef542aa6ef70df4cd54f506c058e6fe20c868b0 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