Changeset 12199


Ignore:
Timestamp:
05/22/09 08:58:27 (4 years ago)
Author:
eko
Message:

some more dual radio stuff

Location:
src/router/httpd/visuals
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/router/httpd/visuals/ejs.c

    r12129 r12199  
    703703#endif 
    704704    // HAVE_AFTERBURNER 
    705     if( !strcmp( name, "AFTERBURNER" ) ) 
     705    if( !strncmp( name, "AFTERBURNER", 11 ) ) 
    706706    { 
    707707#if defined(HAVE_MADWIFI) || defined(HAVE_RT2880) 
     
    711711        char cap[WLC_IOCTL_SMLEN]; 
    712712        char caps[WLC_IOCTL_SMLEN]; 
    713         char *name = nvram_safe_get( "wl0_ifname" ); 
     713        char *ifname; 
     714        name = name + 11; 
     715        if( !strncmp( name, "_wl0", 4 ) ) 
     716                ifname = nvram_safe_get( "wl0_ifname" ); 
     717        else  // "_wl1" 
     718                ifname = nvram_safe_get( "wl1_ifname" ); 
    714719        char *next; 
    715720 
    716         if( wl_iovar_get( name, "cap", ( void * )caps, WLC_IOCTL_SMLEN ) == 
     721        if( wl_iovar_get( ifname, "cap", ( void * )caps, WLC_IOCTL_SMLEN ) == 
    717722            0 ) 
    718723        { 
  • src/router/httpd/visuals/site_survey.c

    r10803 r12199  
    128128            rates = "11(b)"; 
    129129        else if( site_survey_lists[i].rate_count == 12 ) 
    130             rates = "54(g)"; 
     130            rates = "54(b/g)"; 
    131131        else if( site_survey_lists[i].rate_count == 300 ) 
    132132            rates = "300(b/g/n)"; 
Note: See TracChangeset for help on using the changeset viewer.