Changeset 10097
- Timestamp:
- 08/05/08 16:32:18 (5 years ago)
- Location:
- src/router/wlconf
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/router/wlconf/wlconf.c
r9820 r10097 153 153 { WLC_USL, ((char *[]) { "USA Low", "USALow", "USL", NULL }), "US" }, 154 154 { WLC_JPH, ((char *[]) { "Japan High", "JapanHigh", "JPH", NULL }), "JP" }, 155 { WLC_ALL, ((char *[]) { "A ll", "AllTheChannels", NULL }), "All" },155 { WLC_ALL, ((char *[]) { "ALL", "AllTheChannels", NULL }), "ALL" }, 156 156 }; 157 157 … … 906 906 country = BUFFALO_COUNTRY; 907 907 #else 908 if (nvram_match("wl0_phytype","a"))909 country="US";910 else911 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) 913 913 { 914 914 if (nvram_default_match(strcat_r(prefix, "net_mode", tmp),"n-only","mixed") || nvram_match(strcat_r(prefix, "net_mode", tmp),"mixed")) 915 915 country="DE"; 916 } 916 }*/ 917 917 //country = nvram_get(tmp); 918 918 #endif … … 1103 1103 /* Get BW */ 1104 1104 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")) 1106 1107 val = 20; 1107 1108
Note: See TracChangeset
for help on using the changeset viewer.
