summaryrefslogtreecommitdiffstats
path: root/drivers/net/typhoon.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2009-03-02 10:53:03 +0100
committerDavid S. Miller <davem@davemloft.net>2009-03-02 10:53:03 +0100
commit093fb6968deeed46bf93266eee44baeb213bf253 (patch)
treec908034cc46c6c6f87adb4008edfbcfa6aaa521a /drivers/net/typhoon.c
parentrds: Fix build on powerpc. (diff)
downloadlinux-093fb6968deeed46bf93266eee44baeb213bf253.tar.xz
linux-093fb6968deeed46bf93266eee44baeb213bf253.zip
typhoon: Add missing firmware copy.
Noticed by David Dillow. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/typhoon.c')
-rw-r--r--drivers/net/typhoon.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/typhoon.c b/drivers/net/typhoon.c
index ec2541c8c229..9bba78716367 100644
--- a/drivers/net/typhoon.c
+++ b/drivers/net/typhoon.c
@@ -1377,6 +1377,7 @@ typhoon_request_firmware(struct typhoon *tp)
err = -ENOMEM;
goto out_err;
}
+ memcpy(typhoon_fw_image, typhoon_fw->data, typhoon_fw->size);
return 0;