diff options
author | Thomas Haller <thaller@redhat.com> | 2016-12-08 13:24:42 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2016-12-08 13:26:04 +0100 |
commit | 994f1ca96ea7d675b61006f8199a003354e8d12a (patch) | |
tree | e32c0dfe8d570f0929362cd2e7847fff3956125a | |
parent | 92ea1bdb06eda77f3ec5bf6b8cd3bb54da739c77 (diff) | |
download | NetworkManager-994f1ca96ea7d675b61006f8199a003354e8d12a.tar.gz |
device: fix activation_source_schedule() for rescheduling the same function
Fixes: 78ca961c0fd0e5b563e33306299bd1058fa2e289
-rw-r--r-- | src/devices/nm-device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c index e46983b1cd..2785a1a890 100644 --- a/src/devices/nm-device.c +++ b/src/devices/nm-device.c @@ -3837,7 +3837,7 @@ activation_source_schedule (NMDevice *self, ActivationHandleFunc func, int famil act_data = activation_source_get_by_family (self, family, &source_func); - if (act_data->id && act_data->func != func) { + if (act_data->id && act_data->func == func) { /* Don't bother rescheduling the same function that's about to * run anyway. Fixes issues with crappy wireless drivers sending * streams of associate events before NM has had a chance to process |