orinoco: cache downloadable firmware image in memory for use during resume
authorAndrey Borzenkov <arvidjaar@mail.ru>
Sun, 19 Oct 2008 08:06:11 +0000 (12:06 +0400)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 31 Oct 2008 23:02:34 +0000 (19:02 -0400)
commit4fb30784c720b863203957f76e3fde0d53932746
tree9fe63bca9701dcc2a5ee6e6d492e022cbadfb6e5
parent0df6cbb7d8a0a8fea69138e9e463671a8ad99f16
orinoco: cache downloadable firmware image in memory for use during resume

If card is using downloadable firmware (like Agere 9.x), firmware has
to be reloaded during resume. It is not possible to use request_firmware
for that, because tasks are still frozen, so request_firmware will
just timeout and fail. So cache firmware image in memory for later
reuse in ->resume method.

Signed-off-by: Andrey Borzenkov <arvidjaar@mail.ru>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/orinoco.c
drivers/net/wireless/orinoco.h