]> err.no Git - linux-2.6/commitdiff
Driver Core: Increase the default timeout value of the firmware subsystem
authorDave Jones <davej@redhat.com>
Thu, 25 Jan 2007 20:56:15 +0000 (15:56 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 7 Feb 2007 18:37:14 +0000 (10:37 -0800)
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=174589

The ipw driver sometimes takes a long time to load its firmware.
Whilst the ipw driver should be using the async interface of
the firmware loader to make this a non-issue, this is a minimal fix.

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/firmware_class.c

index 64558f45e6bc15e44b3925c507daeddea63a68ac..c0a979a5074bbec75ef691cfe1f13b269c1332fb 100644 (file)
@@ -35,7 +35,7 @@ enum {
        FW_STATUS_READY_NOHOTPLUG,
 };
 
-static int loading_timeout = 10;       /* In seconds */
+static int loading_timeout = 60;       /* In seconds */
 
 /* fw_lock could be moved to 'struct firmware_priv' but since it is just
  * guarding for corner cases a global lock should be OK */