Changeset 10097


Ignore:
Timestamp:
08/05/08 16:32:18 (5 years ago)
Author:
BrainSlayer
Message:

reenable 40 mhz (typo)

Location:
src/router/wlconf
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/router/wlconf/wlconf.c

    r9820 r10097  
    153153        { WLC_USL, ((char *[]) { "USA Low", "USALow", "USL", NULL }), "US" }, 
    154154        { WLC_JPH, ((char *[]) { "Japan High", "JapanHigh", "JPH", NULL }), "JP" }, 
    155         { WLC_ALL, ((char *[]) { "All", "AllTheChannels", NULL }), "All" }, 
     155        { WLC_ALL, ((char *[]) { "ALL", "AllTheChannels", NULL }), "ALL" }, 
    156156        }; 
    157157 
     
    906906        country = BUFFALO_COUNTRY; 
    907907#else 
    908         if (nvram_match("wl0_phytype","a")) 
    909             country="US"; 
    910         else 
    911             country="JP"; 
    912         if (phytype == PHY_TYPE_N) 
     908//      if (nvram_match("wl0_phytype","a")) 
     909//          country="US"; 
     910//      else 
     911            country="ALL"; 
     912/*      if (phytype == PHY_TYPE_N) 
    913913            { 
    914914            if (nvram_default_match(strcat_r(prefix, "net_mode", tmp),"n-only","mixed") || nvram_match(strcat_r(prefix, "net_mode", tmp),"mixed")) 
    915915                country="DE"; 
    916             } 
     916            }*/ 
    917917        //country = nvram_get(tmp); 
    918918#endif 
     
    11031103                /* Get BW */ 
    11041104                val = atoi(nvram_safe_get(strcat_r(prefix, "nbw", tmp))); 
    1105                 if (nvram_match(strcat_r(prefix, "net_mode", tmp),"b-only") ||  nvram_match(strcat_r(prefix, "net_mode", tmp),"g-only") || nvram_match(strcat_r(prefix, "net_mode", tmp),"a-only") ||  nvram_match(strcat_r(prefix, "net_mode", tmp),"bg-mixed")); 
     1105                fprintf(stderr,"nbw = %d\n",val); 
     1106                if (nvram_match(strcat_r(prefix, "net_mode", tmp),"b-only") ||  nvram_match(strcat_r(prefix, "net_mode", tmp),"g-only") || nvram_match(strcat_r(prefix, "net_mode", tmp),"a-only") ||  nvram_match(strcat_r(prefix, "net_mode", tmp),"bg-mixed")) 
    11061107                        val = 20; 
    11071108                 
Note: See TracChangeset for help on using the changeset viewer.