diff --git a/mobile/src/main/java/be/mygod/vpnhotspot/RepeaterService.kt b/mobile/src/main/java/be/mygod/vpnhotspot/RepeaterService.kt index 98746cdf..5620321c 100644 --- a/mobile/src/main/java/be/mygod/vpnhotspot/RepeaterService.kt +++ b/mobile/src/main/java/be/mygod/vpnhotspot/RepeaterService.kt @@ -323,6 +323,11 @@ class RepeaterService : Service(), CoroutineScope, WifiP2pManager.ChannelListene } catch (e: IllegalArgumentException) { SmartSnackbar.make(getString(R.string.repeater_set_vendor_elements_failure, e.message)).show() return + } catch (e: UnsupportedOperationException) { + if (ve.isNotEmpty()) { + SmartSnackbar.make(getString(R.string.repeater_set_vendor_elements_failure, e.message)).show() + } + return } if (reason == WifiP2pManager.ERROR) { val rootReason = try {