Changeset 14478


Ignore:
Timestamp:
05/26/10 15:25:33 (3 years ago)
Author:
BrainSlayer
Message:

show 20/40 dynamic and 40 mhz only if mode does support it

File:
1 edited

Legend:

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

    r14477 r14478  
    692692                                  "selected=\\\"selected\\\"" : ""); 
    693693        } 
    694         if ((nvram_nmatch("n-only", "%s_net_mode", prefix) 
    695              || nvram_nmatch("ng-only", "%s_net_mode", prefix) 
    696              || nvram_nmatch("ng-mixed", "%s_net_mode", prefix) 
    697              || nvram_nmatch("n2-only", "%s_net_mode", prefix) 
    698              || nvram_nmatch("n5-only", "%s_net_mode", prefix) 
    699              || nvram_nmatch("na-only", "%s_net_mode", prefix))) 
     694        if (is_ar5008(prefix) && (nvram_nmatch("n-only", "%s_net_mode", prefix) 
     695                                  || nvram_nmatch("ng-only", "%s_net_mode", 
     696                                                  prefix) 
     697                                  || nvram_nmatch("ng-mixed", "%s_net_mode", 
     698                                                  prefix) 
     699                                  || nvram_nmatch("n2-only", "%s_net_mode", 
     700                                                  prefix) 
     701                                  || nvram_nmatch("n5-only", "%s_net_mode", 
     702                                                  prefix) 
     703                                  || nvram_nmatch("na-only", "%s_net_mode", 
     704                                                  prefix))) 
    700705#endif 
    701706                websWrite(wp, 
Note: See TracChangeset for help on using the changeset viewer.