libertas: add asynchronous firmware loading capability
commit534111c78c59a8db89c570fd07489243dc366a05
authorDaniel Drake <dsd@laptop.org>
Mon, 16 Apr 2012 22:53:26 +0000 (16 23:53 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 17 Apr 2012 18:57:14 +0000 (17 14:57 -0400)
tree27b68e1c69f6f872b62ecfce026591d57904605a
parent0beecac8abb3af890d470df541142d55343382d6
libertas: add asynchronous firmware loading capability

As described at
http://article.gmane.org/gmane.linux.kernel.wireless.general/86084
libertas is taking a long time to load because it loads firmware
during module loading.

Add a new API for interface drivers to load their firmware
asynchronously. The same semantics of the firmware table are followed
like before.

Interface drivers will be converted in follow-up patches, then we can
remove the old, synchronous firmware loading function.

Signed-off-by: Daniel Drake <dsd@laptop.org>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/decl.h
drivers/net/wireless/libertas/dev.h
drivers/net/wireless/libertas/firmware.c
drivers/net/wireless/libertas/main.c