brcm47xx: Fix switch config on 4716/53115 devices
authorHauke Mehrtens <hauke@hauke-m.de>
Mon, 4 Feb 2013 22:38:37 +0000 (22:38 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 4 Feb 2013 22:38:37 +0000 (22:38 +0000)
Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>
SVN-Revision: 35490

target/linux/brcm47xx/base-files/etc/init.d/netconfig

index b4840c2c41922c73ecc80aefddbf343290449a35..303ab569662cd08092c7fc863ce205eca3dceead 100755 (executable)
@@ -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"
                }