summaryrefslogtreecommitdiffstats
path: root/discover/device-handler.c
diff options
context:
space:
mode:
Diffstat (limited to 'discover/device-handler.c')
-rw-r--r--discover/device-handler.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/discover/device-handler.c b/discover/device-handler.c
index e4978fa..22866e6 100644
--- a/discover/device-handler.c
+++ b/discover/device-handler.c
@@ -817,7 +817,12 @@ void device_handler_cancel_default(struct device_handler *handler)
void device_handler_update_config(struct device_handler *handler,
struct config *config)
{
- config_set(config);
+ int rc;
+
+ rc = config_set(config);
+ if (rc)
+ return;
+
discover_server_notify_config(handler->server, config);
device_handler_reinit(handler);
}
OpenPOWER on IntegriCloud