Changeset 17788


Ignore:
Timestamp:
10/17/11 22:13:21 (19 months ago)
Author:
BrainSlayer
Message:

adjusted region dependend defaults

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/router/services/sysinit/sysinit.c

    r17750 r17788  
    410410                nvram_set("ath0_wpa_gtk_rekey", "0"); 
    411411#endif 
     412                if (!strcmp(region, "AP") || !strcmp(region, "CH") 
     413                        || !strcmp(region, "KR") 
     414                        || !strcmp(region, "TW") 
     415                        || !strcmp(region, "RU")) 
     416                        nvram_set("wps_status", "0"); 
     417                else 
     418                        nvram_set("wps_status", "1"); 
    412419#ifdef HAVE_SPOTPASS 
    413420                system("startservice spotpass_defaults"); 
Note: See TracChangeset for help on using the changeset viewer.