diff --git a/mobile/src/main/java/be/mygod/vpnhotspot/RepeaterService.kt b/mobile/src/main/java/be/mygod/vpnhotspot/RepeaterService.kt index e28157ac..3621c708 100644 --- a/mobile/src/main/java/be/mygod/vpnhotspot/RepeaterService.kt +++ b/mobile/src/main/java/be/mygod/vpnhotspot/RepeaterService.kt @@ -192,6 +192,7 @@ class RepeaterService : Service(), WifiP2pManager.ChannelListener, SharedPrefere val device = binder.thisDevice ?: return try { p2pManager.requestPersistentGroupInfo(channel) { + DebugHelper.setString("$TAG.p2pPersistentGroups", it.toString()) val ownedGroups = it.filter { it.isGroupOwner && it.owner.deviceAddress == device.deviceAddress } val main = ownedGroups.minBy { it.netId } // do not replace current group if it's better