Skip to content

Commit

Permalink
Driver Core: Increase the default timeout value of the firmware subsy…
Browse files Browse the repository at this point in the history
…stem

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>
  • Loading branch information
Dave Jones authored and Greg Kroah-Hartman committed Feb 7, 2007
1 parent b7a3e81 commit 2f65168
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/base/firmware_class.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 2f65168

Please sign in to comment.