fix wr850g detection (#1936)
[openwrt.git] / package / broadcom-diag / src / diag.c
index ef586ba..35737b0 100644 (file)
@@ -713,7 +713,8 @@ static struct platform_t __init *platform_detect(void)
                        return &platforms[BUFFALO_UNKNOWN];
        }
 
-       if (!strcmp(getvar("CFEver"), "MotoWRv203") ||
+       if (!strncmp(getvar("CFEver"), "MotoWRv2", 8) ||
+               !strncmp(getvar("CFEver"), "MotoWRv3", 8) ||
                !strcmp(getvar("MOTO_BOARD_TYPE"), "WR_FEM1")) {
 
                return &platforms[WR850GV2V3];
This page took 0.02351 seconds and 4 git commands to generate.