summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/sanboot.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/sanboot.c b/src/core/sanboot.c
index 7dbf03db..03beae79 100644
--- a/src/core/sanboot.c
+++ b/src/core/sanboot.c
@@ -282,6 +282,10 @@ static size_t sanpath_block_window ( struct san_path *sanpath __unused ) {
static void sanpath_step ( struct san_path *sanpath ) {
struct san_device *sandev = sanpath->sandev;
+ /* Ignore if we are already the active device */
+ if ( sanpath == sandev->active )
+ return;
+
/* Wait until path has become available */
if ( ! xfer_window ( &sanpath->block ) )
return;