From: Felix Fietkau Date: Sun, 23 Feb 2014 08:09:21 +0000 (+0100) Subject: wireless: fix device config reload regression X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9bf007985b20cb65147d8fd8ff59a6eb65ed22b8;p=oweals%2Fnetifd.git wireless: fix device config reload regression Signed-off-by: Felix Fietkau --- 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);