summaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-11-15 15:44:01 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-11-15 15:44:01 +0000
commit743296d42c9d78f386361df63ce77ef399a9cc27 (patch)
tree4eae96546368f95ce4dd62189de8ef166c3b3b91 /modules
parenta2526d91ab3df1b36b6a90323a132bae6b203ff6 (diff)
modules/admin-full: bssid is valid in mac80211 sta mode too
Diffstat (limited to 'modules')
-rw-r--r--modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua b/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua
index e2d66db33..503455a97 100644
--- a/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua
+++ b/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua
@@ -373,6 +373,7 @@ if hwtype == "mac80211" then
mode:value("ahdemo", translate("Pseudo Ad-Hoc (ahdemo)"))
mode:value("monitor", translate("Monitor"))
bssid:depends({mode="adhoc"})
+ bssid:depends({mode="sta"})
mp = s:taboption("macfilter", ListValue, "macfilter", translate("MAC-Address Filter"))
mp:depends({mode="ap"})