typhoon: Add missing firmware copy.
authorDavid S. Miller <davem@davemloft.net>
Mon, 2 Mar 2009 09:53:03 +0000 (01:53 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Mar 2009 09:53:03 +0000 (01:53 -0800)
Noticed by David Dillow.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/typhoon.c

index ec2541c8c22935dbf874f1bf9d054dca7a26a447..9bba78716367440e9b0560615896bd5f15579cd1 100644 (file)
@@ -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;