From f48b57f7cfa52ad33fe387a1bc7db9c59fb239a5 Mon Sep 17 00:00:00 2001 From: Radek Vykydal Date: Dec 03 2020 08:50:19 +0000 Subject: network: deal with obsolete ssid when configuring wireless We should fix that by better UI design - obtaining list of ssids in time of selecting the ssid. Related: rhbz#1847681 --- diff --git a/pyanaconda/ui/gui/spokes/network.py b/pyanaconda/ui/gui/spokes/network.py index 3ba1e4f..8a48d04 100644 --- a/pyanaconda/ui/gui/spokes/network.py +++ b/pyanaconda/ui/gui/spokes/network.py @@ -468,6 +468,8 @@ class NetworkControlBox(GObject.GObject): log.info("selected access point: %s", ssid_target) ap = self._get_strongest_ap_for_ssid(device.get_access_points(), ssid) + if not ap: + return cons = ap.filter_connections(device.filter_connections(self.client.get_connections())) if cons: