Changeset 1681

Show
Ignore:
Timestamp:
14/07/10 14:01:42 (3 years ago)
Author:
matthijs
Message:

only offer ht20/ht40 selection for n-only mode

HT40 is only available for n-only mode. This was already checked in the wifi
driver, this makes the WebGUI consistent again.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/luci/modules/admin-fon/luasrc/model/cbi/fon_wifi/main.lua

    r1658 r1681  
    9090        r:value("20", translate("wifi_HT20", "HT20")) 
    9191        r:value("40", translate("wifi_HT2040", "HT20/HT40")) 
     92        -- HT40 mode is only available in n-only mode. 
    9293        r:depends("bgmode", "6") 
    93         r:depends("bgmode", "7") 
    94         r:depends("bgmode", "9") 
    9594        local util = require "luci.util" 
    9695        local c3166 = loadfile((os.getenv("LUCI_SYSROOT") or "") .. "/etc/3166en.db.lua")()