mirror of https://github.com/hak5/openwrt.git
parent
7c70e465c7
commit
9b486d6381
|
@ -713,7 +713,8 @@ static struct platform_t __init *platform_detect(void)
|
||||||
return &platforms[BUFFALO_UNKNOWN];
|
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")) {
|
!strcmp(getvar("MOTO_BOARD_TYPE"), "WR_FEM1")) {
|
||||||
|
|
||||||
return &platforms[WR850GV2V3];
|
return &platforms[WR850GV2V3];
|
||||||
|
|
Loading…
Reference in New Issue