Skip to content

Commit

Permalink
The 73625 is recognized as BRCM7362 because the strstr searches for
Browse files Browse the repository at this point in the history
substring and 7362 check is before 73625.

thx Athanasios
  • Loading branch information
atvcaptain committed May 26, 2016
1 parent 5793deb commit b127763
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -261,29 +261,29 @@ int main(int argc, char **argv)
stb_type = BRCM7358;
break;
}
else if (strstr(buf,"7362"))
else if (strstr(buf,"73625"))
{
stb_type = BRCM7362;
stb_type = BRCM73625;
break;
}
else if (strstr(buf,"73625"))
else if (strstr(buf,"7362"))
{
stb_type = BRCM73625;
stb_type = BRCM7362;
break;
}
else if (strstr(buf,"7241"))
{
stb_type = BRCM7241;
break;
}
else if (strstr(buf,"7356"))
else if (strstr(buf,"73565"))
{
stb_type = BRCM7356;
stb_type = BRCM73565;
break;
}
else if (strstr(buf,"73565"))
else if (strstr(buf,"7356"))
{
stb_type = BRCM73565;
stb_type = BRCM7356;
break;
}
else if (strstr(buf,"7424"))
Expand Down

0 comments on commit b127763

Please sign in to comment.