Misc BSSID fixes

This commit is contained in:
Mygod
2020-06-14 07:56:08 +08:00
parent d98333d35e
commit bf79573b27
6 changed files with 113 additions and 96 deletions

View File

@@ -199,8 +199,7 @@ class RepeaterManager(private val parent: TetheringFragment) : Manager(), Servic
val group = binder?.group
if (group != null) try {
val config = withContext(Dispatchers.Default) {
P2pSupplicantConfiguration(group,
binder?.thisDevice?.deviceAddress, RepeaterService.deviceAddress?.toString())
P2pSupplicantConfiguration(group, RepeaterService.lastMac)
}
holder.config = config
return SoftApConfigurationCompat.empty().apply {