Changeset 12091
- Timestamp:
- 05/11/09 14:45:36 (4 years ago)
- File:
-
- 1 edited
-
src/router/services/networking/network.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/router/services/networking/network.c
r12087 r12091 1510 1510 1511 1511 // If running in client-mode, remove old WAN-configuration 1512 if( nvram_match( "wl0_mode", "sta" ) 1513 || nvram_match( "wl0_mode", "apsta" ) ) 1512 if( getSTA( ) ) 1514 1513 { 1515 1514 // #ifdef HAVE_SKYTRON … … 1576 1575 start_config_macs( wl_face ); 1577 1576 #endif 1578 if( nvram_match( "wl_mode", "sta" ) || nvram_match( "wl_mode", "apsta") )1577 if( getSTA( ) ) 1579 1578 { 1580 1579 unsigned char mac[20]; … … 2422 2421 return 1; 2423 2422 2424 if( nvram_match( "wl_mode", "sta" ) || nvram_match( "wl_mode", "apsta" ) ) 2425 { 2426 return nvram_match( "wl0_ifname", ifname ); 2427 } 2423 if( getSTA( ) && !strcmp( getSTA( ), ifname ) ) 2424 return 1; 2425 2428 2426 return 0; 2429 2427 }
Note: See TracChangeset
for help on using the changeset viewer.
