Changeset 12427

Show
Ignore:
Timestamp:
07/01/2009 12:23:26 PM (4 months ago)
Author:
eko
Message:

wrt610n with boot_nv=6 fix: seems that if we change radio MAC it is not find anymore and we get reboot loop.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/router/services/sysinit/sysinit-broadcom.c

    r12424 r12427  
    920920                nvram_set("pci/1/2/boardflags2", "0x0602"); 
    921921 
     922                if (!nvram_match ("bootnv_ver", "6")) { 
    922923                if (startswith(nvram_safe_get("pci/1/1/macaddr"), "00:90:4C") 
    923924                    || startswith(nvram_safe_get("pci/1/2/macaddr"), 
     
    931932                        nvram_set("pci/1/2/macaddr", mac); 
    932933                        need_reboot = 1; 
     934                } 
    933935                } 
    934936                break;