From 9bf007985b20cb65147d8fd8ff59a6eb65ed22b8 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 23 Feb 2014 09:09:21 +0100 Subject: [PATCH] wireless: fix device config reload regression Signed-off-by: Felix Fietkau --- wireless.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2