Skip to content
Snippets Groups Projects
Commit ac8445ca 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 3fd7eb21 9807816e
No related branches found
No related tags found
No related merge requests found
...@@ -615,8 +615,9 @@ public class IpServer extends StateMachine { ...@@ -615,8 +615,9 @@ public class IpServer extends StateMachine {
final Boolean setIfaceUp; final Boolean setIfaceUp;
if (mInterfaceType == TetheringManager.TETHERING_WIFI if (mInterfaceType == TetheringManager.TETHERING_WIFI
|| mInterfaceType == TetheringManager.TETHERING_WIFI_P2P) { || mInterfaceType == TetheringManager.TETHERING_WIFI_P2P
// The WiFi stack has ownership of the interface up/down state. || 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 // It is unclear whether the Bluetooth or USB stacks will manage their own
// state. // state.
setIfaceUp = null; setIfaceUp = null;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment