luci-0Ã.10: merge r7961
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 15 Nov 2011 15:46:28 +0000 (15:46 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 15 Nov 2011 15:46:28 +0000 (15:46 +0000)
modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua

index e2d66db334ec4d91a7b9d8242a0bd2e8290a86c6..503455a97c5c6921690c72a8ecc838cfb954a87c 100644 (file)
@@ -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"})