summaryrefslogtreecommitdiffstats
path: root/discover
diff options
context:
space:
mode:
Diffstat (limited to 'discover')
-rw-r--r--discover/device-handler.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/discover/device-handler.c b/discover/device-handler.c
index 569e652..aa61bd2 100644
--- a/discover/device-handler.c
+++ b/discover/device-handler.c
@@ -451,6 +451,9 @@ void device_handler_reinit(struct device_handler *handler)
discover_server_notify_config(handler->server, config);
}
+ /* Force rediscovery on SCSI devices */
+ process_run_simple(handler, pb_system_apps.scsi_rescan, NULL);
+
device_handler_reinit_sources(handler);
}
OpenPOWER on IntegriCloud