Pass the noprobe arguments to loadDriverFromMedia (#690058)
There was one codepath I overlooked.. this should solve it.
---
loader/driverdisk.c | 16 +++++++++-------
1 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/loader/driverdisk.c b/loader/driverdisk.c
index 329c33e..707c253 100644
--- a/loader/driverdisk.c
+++ b/loader/driverdisk.c
@@ -676,7 +676,7 @@ int loadDriverFromMedia(int class, struct loaderData_s *loaderData,
/* Unload all devices and load them again to use the updated modules */
logMessage(INFO, "Trying to refresh loaded drivers");
mlRestoreModuleState(moduleState);
- if (!noprobe) detectHardware(USB_DETECT_DELAY);
+ detectHardware(USB_DETECT_DELAY);
/* Get info about modules after the update */
postDDstate = mlVersions();
@@ -744,7 +744,7 @@ int loadDriverDisks(int class, struct loaderData_s *loaderData, GTree *moduleSta
if (rc != 1)
return LOADER_OK;
- /* Unload all devices and load them again to use the updated modules */
- logMessage(INFO, "Trying to refresh loaded drivers");
- mlRestoreModuleState(moduleState);
- if (!FL_NOPROBE(flags)) detectHardware(USB_DETECT_DELAY);
+ if (!FL_NOPROBE(flags)) {
+ /* Unload all devices and load them again to use the updated modules */
+ logMessage(INFO, "Trying to refresh loaded drivers");
+ mlRestoreModuleState(moduleState);
+ detectHardware(USB_DETECT_DELAY);
+ }
}
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
12-06-2011, 05:52 PM
"Brian C. Lane"
Pass the noprobe arguments to loadDriverFromMedia (#690058)
On Fri, Dec 02, 2011 at 10:40:42AM +0100, Martin Sivak wrote:
> There was one codepath I overlooked.. this should solve it.
Ack
--
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list