brcm47xx: Fix switch config on 4716/53115 devices

Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35490 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Hauke Mehrtens
2013-02-04 22:38:37 +00:00
parent 5c4e7151fb
commit b753276ff5

View File

@@ -166,7 +166,7 @@ start() {
}
# generic broadcom 4716 processor with 53115 switch
if (nvram["boardtype"] == "0x04cf") {
if (tolower(nvram["boardtype"]) == "0x04cf") {
c["vlan0ports"] = "1 2 3 4 8*"
c["vlan1ports"] = "0 8"
}