Changeset 17076


Ignore:
Timestamp:
05/16/11 16:52:13 (2 years ago)
Author:
BrainSlayer
Message:

disable ht if aoss is running

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/router/services/networking/madwifi_ath9k.c

    r16915 r17076  
    4848void setupHostAP_ath9k(char *maininterface, int isfirst, int vapid, int aoss); 
    4949static void setupSupplicant_ath9k(char *prefix, char *ssidoverride); 
    50 void setupHostAP_generic_ath9k(char *prefix, FILE * fp, int isrepeater); 
     50void setupHostAP_generic_ath9k(char *prefix, FILE * fp, int isrepeater,int aoss); 
    5151 
    5252 
     
    268268} 
    269269 
    270 void setupHostAP_generic_ath9k(char *prefix, FILE * fp, int isrepeater) 
     270void setupHostAP_generic_ath9k(char *prefix, FILE * fp, int isrepeater, int aoss) 
    271271{ 
    272272        struct wifi_channels *chan; 
     
    324324             !strcmp(netmode, "n2-only") ||     // 
    325325             !strcmp(netmode, "n5-only") ||     // 
    326              !strcmp(netmode, "mixed")) && strcmp(akm, "wep")) { 
     326             !strcmp(netmode, "mixed")) && strcmp(akm, "wep") && !aoss) { 
    327327 
    328328                if (strcmp(netmode, "mixed") && strcmp(netmode, "ng-only") 
     
    497497        if (isfirst) { 
    498498                fp = fopen(fstr, "wb"); 
    499                 setupHostAP_generic_ath9k(maininterface, fp, isrepeater); 
     499                setupHostAP_generic_ath9k(maininterface, fp, isrepeater,aoss); 
    500500                fprintf(fp, "interface=%s\n", ifname); 
    501501        } else { 
Note: See TracChangeset for help on using the changeset viewer.