Changeset 14076
- Timestamp:
- 03/09/10 01:00:22 (3 years ago)
- File:
-
- 1 edited
-
src/router/services/networking/madwifi.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/router/services/networking/madwifi.c
r14069 r14076 1824 1824 { 1825 1825 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 too1838 /*1839 * char countrycode[64]; char xchanmode[64]; char outdoor[64];1840 *1841 * if (strlen (nvram_safe_get ("wl_countrycode")) > 0) sprintf1842 * (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 sprintf1847 * (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 1854 1826 int c = getdevicecount(); 1855 1827 int i;
Note: See TracChangeset
for help on using the changeset viewer.
