summaryrefslogtreecommitdiff
path: root/firmware/usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/usb.c')
-rw-r--r--firmware/usb.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/usb.c b/firmware/usb.c
index 6095bcd65e..4b76fe60be 100644
--- a/firmware/usb.c
+++ b/firmware/usb.c
@@ -194,7 +194,13 @@ static void usb_slave_mode(bool on)
194 panicf("ata: %d",rc); 194 panicf("ata: %d",rc);
195 } 195 }
196 196
197#if defined(HAVE_MMC) && defined(HAVE_HOTSWAP)
198 mmc_enable_monitoring(false);
197 rc = disk_mount_all(); 199 rc = disk_mount_all();
200 mmc_enable_monitoring(true);
201#else
202 rc = disk_mount_all();
203#endif
198 if (rc <= 0) /* no partition */ 204 if (rc <= 0) /* no partition */
199 panicf("mount: %d",rc); 205 panicf("mount: %d",rc);
200 206