diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2009-03-25 13:45:01 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-04-22 16:54:26 -0400 |
commit | 5e3af1d2d3e6c0011b4c22514d39c73dcbc6674f (patch) | |
tree | e8b7e4d3ae5d70ab6ca7410566ae6e746a982527 /drivers/net/wireless/p54/net2280.h | |
parent | f74d0f5cacb7023422098dd5c98e3ce06787ba56 (diff) |
p54spi: fix p54spi_upload_firmware
Instead of firmware itself p54_upload_firmware was sending to the device
content of struct firmware and the following random garbage.
Notice '&' before priv->firmware->data at p54spi_spi_write.
But simple removing of '&' sign triggered BUG_ON at dma_cache_maint.
Thus kmemdup - kfree workaround.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Christian Lamparter <chunkeey@web.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/p54/net2280.h')
0 files changed, 0 insertions, 0 deletions