about summary refs log tree commit diff
path: root/src/devices/bluetooth
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2019-11-06 20:46:28 +0100
committerMichael Biebl <biebl@debian.org>2019-11-06 20:46:28 +0100
commit515e1311d22086215e182f18a4529f24660ca4c3 (patch)
tree5b1d21eeceaa57d233d46ddfeeca5e0c1fc8b8a3 /src/devices/bluetooth
parent790e3946f0274a272fdda4d8697ce31a757a48d2 (diff)
parent9c642eac191ef0dce49855d8da0a9e9af18d5113 (diff)
Update upstream source from tag 'upstream/1.20.6'
Update to upstream version '1.20.6'
with Debian dir 93035bdc0e2b22e7410d6c70c55a21648f836a2f
Diffstat (limited to 'src/devices/bluetooth')
-rw-r--r--src/devices/bluetooth/nm-device-bt.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/devices/bluetooth/nm-device-bt.c b/src/devices/bluetooth/nm-device-bt.c
index 0853c926..f8626011 100644
--- a/src/devices/bluetooth/nm-device-bt.c
+++ b/src/devices/bluetooth/nm-device-bt.c
@@ -550,6 +550,9 @@ ip_ifindex_changed_cb (NMModem *modem, GParamSpec *pspec, gpointer user_data)
 {
 	NMDevice *device = NM_DEVICE (user_data);
 
+	if (!nm_device_is_activating (device))
+		return;
+
 	if (!nm_device_set_ip_ifindex (device,
 	                               nm_modem_get_ip_ifindex (modem))) {
 		nm_device_state_changed (device,