Changeset 14076


Ignore:
Timestamp:
03/09/10 01:00:22 (3 years ago)
Author:
BrainSlayer
Message:

remove these comments

File:
1 edited

Legend:

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

    r14069 r14076  
    18241824{ 
    18251825        deconfigure_wifi(); 
    1826         /* 
    1827          * int s; int existed=0; for (s=0;s<10;s++) { char wif[32]; 
    1828          * sprintf(wif,"wifi%d",s); if (ifexists(wif)) { 
    1829          * eval("ifconfig",wif,"down"); existed=1; } } #if defined(HAVE_FONERA) 
    1830          * || defined(HAVE_WHRAG108) eval("rmmod","ath_ahb"); insmod("ath_ahb", 
    1831          * "autocreate=none"); #else eval("rmmod","ath_pci"); insmod("ath_pci", 
    1832          * "autocreate=none"); #endif for (s=0;s<10;s++) { char wif[32]; 
    1833          * sprintf(wif,"wifi%d",s); if (ifexists(wif)) eval("ifconfig",wif,"up"); 
    1834          * }  
    1835          */ 
    1836  
    1837         // bridge the virtual interfaces too 
    1838         /* 
    1839          * char countrycode[64]; char xchanmode[64]; char outdoor[64]; 
    1840          *  
    1841          * if (strlen (nvram_safe_get ("wl_countrycode")) > 0) sprintf 
    1842          * (countrycode, "countrycode=%s", nvram_safe_get ("wl_countrycode")); 
    1843          * else sprintf (countrycode, "countrycode=0"); 
    1844          *  
    1845          * if (strlen (nvram_safe_get ("wl_xchanmode")) > 0) sprintf (xchanmode, 
    1846          * "xchanmode=%s", nvram_safe_get ("wl_xchanmode")); else sprintf 
    1847          * (xchanmode, "xchanmode=0"); 
    1848          *  
    1849          * if (strlen (nvram_safe_get ("wl_outdoor")) > 0) sprintf (outdoor, 
    1850          * "outdoor=%s", nvram_safe_get ("wl_outdoor")); else sprintf (outdoor, 
    1851          * "outdoor=0");  
    1852          */ 
    1853  
    18541826        int c = getdevicecount(); 
    18551827        int i; 
Note: See TracChangeset for help on using the changeset viewer.