Changeset 18926


Ignore:
Timestamp:
04/05/12 15:21:28 (14 months ago)
Author:
BrainSlayer
Message:

faster

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

Legend:

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

    r18925 r18926  
    41784178         
    41794179#if defined(HAVE_ATH9K) 
    4180                 if (has_ht40(prefix) || !is_ath9k(prefix)) 
     4180                if (!is_ath9k(prefix) || has_ht40(prefix)) 
    41814181#endif 
    41824182                if ((nvram_nmatch("n-only", "%s_net_mode", prefix) 
     
    42034203{ 
    42044204#if defined(HAVE_ATH9K) 
    4205                 if (has_ht40(prefix) || !is_ath9k(prefix)) 
     4205                if (!is_ath9k(prefix) || has_ht40(prefix)) 
    42064206#endif 
    42074207                websWrite(wp, 
     
    48334833/* limit channel options by mode */ 
    48344834#if defined(HAVE_ATH9K) 
    4835                 if (has_ht40(prefix) || !is_ath9k(prefix)) 
     4835                if (!is_ath9k(prefix) || has_ht40(prefix)) 
    48364836#endif 
    48374837        if (is_ath11n(prefix)) { 
     
    48584858{ 
    48594859#if defined(HAVE_ATH9K) 
    4860                 if (has_ht40(prefix) || !is_ath9k(prefix)) 
     4860                if (!is_ath9k(prefix) || has_ht40(prefix)) 
    48614861#endif 
    48624862                websWrite(wp, 
  • src/router/httpd/visuals/setupassistant.c

    r18925 r18926  
    712712                    { 
    713713#if defined(HAVE_ATH9K) 
    714                 if (has_ht40(prefix) || !is_ath9k(prefix)) 
     714                if (!is_ath9k(prefix) || has_ht40(prefix)) 
    715715#endif 
    716716                        websWrite(wp, 
     
    731731{ 
    732732#if defined(HAVE_ATH9K) 
    733                 if (has_ht40(prefix) || !is_ath9k(prefix)) 
     733                if (!is_ath9k(prefix) || has_ht40(prefix)) 
    734734#endif 
    735735                websWrite(wp, 
Note: See TracChangeset for help on using the changeset viewer.