diff options
author | Jussi Kivilinna <jussi.kivilinna@mbnet.fi> | 2008-03-04 19:05:27 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-03-05 00:36:39 +0100 |
commit | cdb2a9fe63575dd1eb82b724bbd0aa5e0dd89fa0 (patch) | |
tree | f0a41d799f0d9bab6dd91c2475adcc9178a71d9d /drivers/net/macb.c | |
parent | libertas: compare the current command with response (diff) | |
download | linux-cdb2a9fe63575dd1eb82b724bbd0aa5e0dd89fa0.tar.xz linux-cdb2a9fe63575dd1eb82b724bbd0aa5e0dd89fa0.zip |
rndis_wlan: fix broken data copy
Replace broken code that attempted to copy 6 byte array to 64-bit
integer. Due to missing cast to 64-bit integer, left shift operation
were 32-bit and lead to bytes been copied over each other. New code
uses simple memcpy, for greater readability and efficiency.
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/macb.c')
0 files changed, 0 insertions, 0 deletions