 Chromium Code Reviews
 Chromium Code Reviews Issue 
            992006:
    Changed DisableTechnology to do a full device disable.  (Closed)
    
  
    Issue 
            992006:
    Changed DisableTechnology to do a full device disable.  (Closed) 
  | DescriptionChanged DisableTechnology to do a full device disable.
This causes a disconnect to occur on all devices with the specified technology, including teardown of ip state. This fixes issue 1821. I added a call to set_carrier() in __connman_device_disable. Testing included the following scenarios, running test-manager and route -n after each one to check that things were in the expected state. Note that there is a separate, pre-existing bug in which a technology can be shown in the list of "connected technologies" even when the technology is disabled. I will fix that in a separate CL.
- Start up connman with wifi disabled. Enable wifi, connect to GoogleGuest, then disable wifi.
- Start up connman with wifi enabled. Connect to GoogleGuest. Disable wifi, then re-enable it and connect to GoogleGuest.
- Do the above two tests with 3G (except that the service connected to is not GoogleGuest).
- With wifi connected, establish a 3G connection. Then disable wifi and make sure that all the expected routing table entries exist. Enable wifi and connect to GoogleGuest, and make sure everything goes back to the state it was in before wifi was disabled.
- The above test, but with Ethernet taking the place of wifi, and wifi taking the place of 3G.
- With wifi and 3G connected, plug in the Ethernet. Then disable wifi. Then unplug the Ethernet. Check that routing is set up for 3G, and load a web page.
   Patch Set 1 #
      Total comments: 2
      
     Patch Set 2 : Use set_carrier, not set_powered, and move to device_disable. #Messages
    Total messages: 5 (0 generated)
     |