bcm63xx: use the exact board id as board identification string
[openwrt/staging/mkresin.git] / target / linux / brcm63xx / base-files / etc / uci-defaults / brcm63xx_fixcrc.sh
index 965ddba16c7035894ae6b4ea7ef2a0f354c6da59..e63ecfde4de663c2d411ecadc99991e49423b962 100755 (executable)
@@ -13,8 +13,11 @@ do_fixcrc() {
 brcm63xx_detect
 
 case "$board_name" in
-       "bcm63xx/CPVA642 "* | "bcm63xx/MAGIC "* | "bcm63xx/V2500V_BB "* | \
-       "bcm63xx/V2110 "* | "bcm63xx/CPVA502+ "*)
+       "CPVA502+" |\
+       CPVA642 |\
+       MAGIC |\
+       V2110 |\
+       V2500V_BB)
                do_fixcrc
                ;;
 esac