Merge "Let only Ethernet manage ethernet interface up and down" am: ef511f8ba8
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1317394 Change-Id: I15e3226be1337ad76c8bbd275db91600673979fe
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user