summaryrefslogtreecommitdiff
path: root/drivers/net/typhoon.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2009-03-02 01:53:03 -0800
committerDavid S. Miller <davem@davemloft.net>2009-03-02 01:53:03 -0800
commit093fb6968deeed46bf93266eee44baeb213bf253 (patch)
treec908034cc46c6c6f87adb4008edfbcfa6aaa521a /drivers/net/typhoon.c
parentc3b3240450ab8a1f3e52c5a69d53113deb6f91c5 (diff)
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;