mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
fix wr850g detection (#1936)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9492 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -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];
|
||||||
|
|||||||
Reference in New Issue
Block a user