summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/probing.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1/probing.c')
-rw-r--r--mdk-stage1/probing.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdk-stage1/probing.c b/mdk-stage1/probing.c
index 1add7fd64..f956bb348 100644
--- a/mdk-stage1/probing.c
+++ b/mdk-stage1/probing.c
@@ -670,8 +670,8 @@ void find_media(enum media_bus bus)
read_attribute(path, buf);
long caps = strtol(buf, NULL, 16);
- // GENHD_FL_UP (0x0010): indicates that the block device is “up”, with a similar meaning to network interface
- if (caps && !(caps & 0x0010)) {
+ // GENHD_FL_UP (0x0010): indicated that the block device is “up” but the kernel has removed that info
+ if (caps && 0) {
log_message("Ignoring device %s (not up)", name);
free(name);
continue;