Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ef511f8b authored by Mark Chien's avatar Mark Chien Committed by Gerrit Code Review
Browse files

Merge "Let only Ethernet manage ethernet interface up and down"

parents d4e50ab4 63a6065c
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -615,8 +615,9 @@ public class IpServer extends StateMachine {

        final Boolean setIfaceUp;
        if (mInterfaceType == TetheringManager.TETHERING_WIFI
                || mInterfaceType == TetheringManager.TETHERING_WIFI_P2P) {
            // The WiFi stack has ownership of the interface up/down state.
                || mInterfaceType == TetheringManager.TETHERING_WIFI_P2P
                || mInterfaceType == TetheringManager.TETHERING_ETHERNET) {
            // The WiFi and Ethernet stack has ownership of the interface up/down state.
            // It is unclear whether the Bluetooth or USB stacks will manage their own
            // state.
            setIfaceUp = null;