X-Git-Url: https://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=discover%2Fdevice-handler.c;h=725e491d1f6f9c87d11f1918826b049e0ba76885;hp=6fa14f9dd07ffb8c82d9df94c3344a12ca3d9ff5;hb=52bec18801b226b57f53d9f075addd2c07caa3db;hpb=7832d10c59cfe7f06e19bc6f0b6acaac1a552618 diff --git a/discover/device-handler.c b/discover/device-handler.c index 6fa14f9..725e491 100644 --- a/discover/device-handler.c +++ b/discover/device-handler.c @@ -1,4 +1,3 @@ - #include #include #include @@ -717,6 +716,13 @@ void device_handler_cancel_default(struct device_handler *handler) discover_server_notify_boot_status(handler->server, &status); } +void device_handler_update_config(struct device_handler *handler, + struct config *config) +{ + config_set(config); + discover_server_notify_config(handler->server, config); +} + #ifndef PETITBOOT_TEST static bool check_existing_mount(struct discover_device *dev) {