Changeset 15393


Ignore:
Timestamp:
10/07/10 16:01:47 (3 years ago)
Author:
eko
Message:

Belkin F7Dxxxx: boardnum is not always 12345

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/router/libutils/utils.c

    r15380 r15393  
    13061306        } 
    13071307 
    1308         if (boardnum == 12345 && nvram_match("boardtype", "0xd4cf") 
     1308        if (nvram_match("boardtype", "0xd4cf") 
    13091309            && nvram_match("boardrev", "0x1204")) { 
    13101310                setRouter("Belkin Play Max F7D4301 v1"); 
     
    13121312        } 
    13131313 
    1314         if (boardnum == 12345 && nvram_match("boardtype", "0xa4cf") 
     1314        if (nvram_match("boardtype", "0xa4cf") 
    13151315            && nvram_match("boardrev", "0x1102")) { 
    13161316                FILE *mtd1 = fopen("/dev/mtdblock/1", "rb"); 
Note: See TracChangeset for help on using the changeset viewer.