summaryrefslogtreecommitdiffhomepage
path: root/wireless.c
diff options
context:
space:
mode:
Diffstat (limited to 'wireless.c')
-rw-r--r--wireless.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wireless.c b/wireless.c
index d886bf2..247d323 100644
--- a/wireless.c
+++ b/wireless.c
@@ -417,7 +417,7 @@ wdev_change_config(struct wireless_device *wdev, struct wireless_device *wd_new)
free(wd_new);
- if (blob_attr_equal(wdev->config, new_config) || wdev->disabled == disabled)
+ if (blob_attr_equal(wdev->config, new_config) && wdev->disabled == disabled)
return;
D(WIRELESS, "Update configuration of wireless device '%s'\n", wdev->name);