[PATCH] IPW2100 fails to load firmware when booting on battery

From: Olaf Hering
Date: Sat Jan 21 2006 - 15:20:42 EST



We carry this patch around since a while. Is it safe to increase the
timeout also in mainline?

References: https://bugzilla.novell.com/show_bug.cgi?id=74526

IPW2100 fails to load firmware when booting on battery; increasing the
timeout solves the problem.


diff -urNp linux-2.6.12/drivers/base/firmware_class.c linux-2.6.12.SUSE/drivers/base/firmware_class.c
--- linux-2.6.12/drivers/base/firmware_class.c 2005-08-05 11:36:43.908851520 +0200
+++ linux-2.6.12.SUSE/drivers/base/firmware_class.c 2005-08-05 11:41:23.737311128 +0200
@@ -30,7 +30,7 @@ enum {
FW_STATUS_READY,
};

-static int loading_timeout = 10; /* In seconds */
+static int loading_timeout = 30; /* 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 */

--
short story of a lazy sysadmin:
alias appserv=wotan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/