1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-06-20 15:48:26 +02:00

fix wr850g detection (#1936)

SVN-Revision: 9492
This commit is contained in:
Felix Fietkau 2007-11-03 16:17:53 +00:00
parent 7c70e465c7
commit 9b486d6381

View 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];