summaryrefslogtreecommitdiffhomepage
path: root/wireless.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-02-23 09:09:21 +0100
committerFelix Fietkau <nbd@openwrt.org>2014-02-23 09:09:21 +0100
commit9bf007985b20cb65147d8fd8ff59a6eb65ed22b8 (patch)
treea47451d7d8813689b1b8b14490360407b8642f09 /wireless.c
parentb5cfcfe34e6b44f2be90bf24e879dc25f0f07b9e (diff)
wireless: fix device config reload regression
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
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);