about summary refs log tree commit diff
path: root/src/devices/wifi
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2020-08-19 10:14:39 +0200
committerMichael Biebl <biebl@debian.org>2020-08-19 10:14:39 +0200
commitc61fd724fffbf1225fdd233a8e450d9a1ddcc849 (patch)
tree43e0feb9d3cf8842022ed94b164324c0603855fc /src/devices/wifi
parentf86436e83639986f20fb44663edcccf36c3c150c (diff)
parente7b44ef4c80907346ec7492a09c45277459924fc (diff)
Update upstream source from tag 'upstream/1.26.2'
Update to upstream version '1.26.2'
with Debian dir ba5e61f5f737f4e42f743638f9a83bd5cd708a3c
Diffstat (limited to 'src/devices/wifi')
-rw-r--r--src/devices/wifi/nm-device-wifi.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/devices/wifi/nm-device-wifi.c b/src/devices/wifi/nm-device-wifi.c
index 2d97f9b1..2a342886 100644
--- a/src/devices/wifi/nm-device-wifi.c
+++ b/src/devices/wifi/nm-device-wifi.c
@@ -1937,6 +1937,13 @@ supplicant_iface_bss_changed_cb (NMSupplicantInterface *iface,
 	} else {
 		gs_unref_object NMWifiAP *ap = NULL;
 
+		if (!bss_info->bssid_valid) {
+			/* We failed to initialize the info about the AP. This can
+			 * happen due to an error in the D-Bus communication. In this case
+			 * we ignore the info. */
+			return;
+		}
+
 		ap = nm_wifi_ap_new_from_properties (bss_info);
 
 		/* Let the manager try to fill in the SSID from seen-bssids lists */