chiark / gitweb /
[PATCH] change max time to wait in wait_for_sysfs to 10 seconds to hopefully handle...
[elogind.git] / wait_for_sysfs.c
index 2252c30cd82229057ae836b8eb1b3c6163449d0b..f87253d0449c2401655db53039d33382e47d82d3 100644 (file)
@@ -47,7 +47,7 @@ void log_message(int level, const char *format, ...)
 }
 #endif
 
-#define WAIT_MAX_SECONDS               5
+#define WAIT_MAX_SECONDS               10
 #define WAIT_LOOP_PER_SECOND           20
 
 /* wait for specific file to show up, normally the "dev"-file */
@@ -154,6 +154,7 @@ static int class_device_expect_no_device_link(struct sysfs_class_device *class_d
                { .subsystem = "ieee1394",      .device = NULL },
                { .subsystem = "ieee1394_host", .device = NULL },
                { .subsystem = "ieee1394_node", .device = NULL },
+               { .subsystem = "raw",           .device = NULL },
                { NULL, NULL }
        };
        struct class_device *classdevice;