about summary refs log tree commit diff
path: root/src/devices/bluetooth/nm-device-bt.c
diff options
context:
space:
mode:
authorSebastien Bacher <seb128@ubuntu.com>2020-01-07 16:53:57 +0100
committerSebastien Bacher <seb128@ubuntu.com>2020-01-07 16:56:18 +0100
commit5035d260cb1cde38bfdc732e0d1ff8b3ca78135c (patch)
tree1433995e753effc7cfa4f63266691bdc8b5ad6b3 /src/devices/bluetooth/nm-device-bt.c
parent21add8edb7927d06f038208fd6271202063d5293 (diff)
parent121343423a2e75e15e16988e664a8b32a629f2ba (diff)
Merge tag 'debian/1.20.6-1'
network-manager Debian release 1.20.6-1
Diffstat (limited to 'src/devices/bluetooth/nm-device-bt.c')
-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,