oops - we want to compare aganst the old interface, not the new one

This commit is contained in:
geeksville 2020-06-07 22:39:57 -07:00
parent bbd9a6d6f4
commit 303fb86aa6

View file

@ -212,7 +212,7 @@ class RadioInterfaceService : Service(), Logging {
receivedPacketsLog.close()
// Don't broadcast disconnects if we were just using the nop device
if (radioIf != nopIf)
if (r != nopIf)
onDisconnect(isPermanent = true) // Tell any clients we are now offline
}