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

Commit 097e2385 authored by Rebecca Silberstein's avatar Rebecca Silberstein Committed by android-build-merger
Browse files

Merge "handle wifi interface changes with interfaceRemoved" into nyc-dev

am: 602123a1

* commit '602123a1':
  handle wifi interface changes with interfaceRemoved
parents 044cb78a 602123a1
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -255,6 +255,9 @@ public class Tethering extends BaseNetworkObserver {
                    // ignore usb0 down after enabling RNDIS
                    // we will handle disconnect in interfaceRemoved instead
                    if (VDBG) Log.d(TAG, "ignore interface down for " + iface);
                } else if (isWifi(iface)) {
                    // handle disconnect in interfaceRemoved
                    if (VDBG) Log.d(TAG, "ignore interface down for " + iface);
                } else if (sm != null) {
                    sm.sendMessage(TetherInterfaceSM.CMD_INTERFACE_DOWN);
                    mIfaces.remove(iface);