diff options
author | Pascal Terjan <pterjan@mageia.org> | 2020-06-12 20:27:04 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2020-06-12 21:39:54 +0000 |
commit | 346a665f193b60858614b3342d5166ca731054e5 (patch) | |
tree | 7e1fa89b588278b55cd62c0f33ff1a43c3c0436c /mdk-stage1 | |
parent | 7186c327bfaa9b87b28c6d4315169baa61b3496a (diff) | |
download | drakx-346a665f193b60858614b3342d5166ca731054e5.tar drakx-346a665f193b60858614b3342d5166ca731054e5.tar.gz drakx-346a665f193b60858614b3342d5166ca731054e5.tar.bz2 drakx-346a665f193b60858614b3342d5166ca731054e5.tar.xz drakx-346a665f193b60858614b3342d5166ca731054e5.zip |
Do not ignore devices lacking capability
Diffstat (limited to 'mdk-stage1')
-rw-r--r-- | mdk-stage1/probing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mdk-stage1/probing.c b/mdk-stage1/probing.c index db99fb56f..32045ec69 100644 --- a/mdk-stage1/probing.c +++ b/mdk-stage1/probing.c @@ -670,7 +670,7 @@ void find_media(enum media_bus bus) read_attribute(path, buf); long caps = strtol(buf, NULL, 16); - if (!(caps & 0x0010)) { + if (caps && !(caps & 0x0010)) { log_message("Ignoring device %s (not up)", name); free(name); continue; |