Merge "Let only Ethernet manage ethernet interface up and down" into rvc-dev am: 28c2d1dcca
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11908430 Change-Id: I2a5179ac64f00bf6a4254ded6318d6f1c6f9fd6c
This commit is contained in:
@@ -616,8 +616,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