diff --git a/mobile/src/main/java/be/mygod/vpnhotspot/net/wifi/SoftApConfigurationCompat.kt b/mobile/src/main/java/be/mygod/vpnhotspot/net/wifi/SoftApConfigurationCompat.kt index 20bbff22..483f32c0 100644 --- a/mobile/src/main/java/be/mygod/vpnhotspot/net/wifi/SoftApConfigurationCompat.kt +++ b/mobile/src/main/java/be/mygod/vpnhotspot/net/wifi/SoftApConfigurationCompat.kt @@ -421,7 +421,7 @@ data class SoftApConfigurationCompat( it.bridgedModeOpportunisticShutdownTimeoutMillis = getBridgedModeOpportunisticShutdownTimeoutMillis(this) as Long it.vendorElements = getVendorElements(this) as List - it.persistentRandomizedMacAddress = getPersistentRandomizedMacAddress(this) as MacAddress + it.persistentRandomizedMacAddress = getPersistentRandomizedMacAddress(this) as MacAddress? it.allowedAcsChannels = BAND_TYPES.map { bandType -> try { bandType to (getAllowedAcsChannels(this, bandType) as IntArray).toSet()