chiark / gitweb /
[PATCH] wait_for_sysfs bluetooth class update
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>
Thu, 7 Oct 2004 08:34:31 +0000 (01:34 -0700)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:37:03 +0000 (21:37 -0700)
Here is the file to wait for the bluetooth class, as it is not a "dev"
file. udev waits for 10 seconds here too.

wait_for_sysfs.c

index 28ff43b..0881b61 100644 (file)
@@ -61,6 +61,7 @@ static int wait_for_class_device_attributes(struct sysfs_class_device *class_dev
                { .subsystem = "scsi_device",   .file = NULL },
                { .subsystem = "pcmcia_socket", .file = "card_type" },
                { .subsystem = "usb_host",      .file = NULL },
+               { .subsystem = "bluetooth",     .file = "address" },
                { NULL, NULL }
        };
        struct class_file *classfile;