Changeset 11479


Ignore:
Timestamp:
01/19/09 09:21:39 (4 years ago)
Author:
eko
Message:

don't show b,g for a-only radio

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/router/httpd/visuals/dd-wrt.c

    r11472 r11479  
    31383138               nvram_match( wl_net_mode, 
    31393139                            "mixed" ) ? "selected=\\\"selected\\\"" : "" ); 
     3140#ifdef HAVE_MADWIFI                          
    31403141    if( has_mimo( prefix ) ) 
     3142#else 
     3143    if( has_mimo( prefix ) && !nvram_nmatch( "a", "%s_phytypes", prefix ) ) 
     3144#endif      
    31413145    { 
    31423146        websWrite( wp, 
     
    31523156        if( !strcmp( prefix, "ath1" ) ) 
    31533157#endif 
     3158#ifndef HAVE_MADWIFI 
     3159    if( !nvram_nmatch( "a", "%s_phytypes", prefix ) ) 
     3160#endif 
     3161    { 
    31543162            websWrite( wp, 
    31553163                       "document.write(\"<option value=\\\"b-only\\\" %s>\" + wl_basic.b + \"</option>\");\n", 
     
    31573165                                    "b-only" ) ? "selected=\\\"selected\\\"" : 
    31583166                       "" ); 
     3167    } 
    31593168#ifdef HAVE_MADWIFI 
    31603169#ifdef HAVE_WHRAG108 
     
    31873196#endif 
    31883197#ifndef HAVE_LS5 
     3198#ifndef HAVE_MADWIFI 
     3199    if( !nvram_nmatch( "a", "%s_phytypes", prefix ) ) 
     3200#endif 
     3201    { 
    31893202        websWrite( wp, 
    31903203                   "document.write(\"<option value=\\\"g-only\\\" %s>\" + wl_basic.g + \"</option>\");\n", 
     
    31923205                                "g-only" ) ? "selected=\\\"selected\\\"" : 
    31933206                   "" ); 
     3207    } 
    31943208#endif 
    31953209#endif 
Note: See TracChangeset for help on using the changeset viewer.