aboutsummaryrefslogtreecommitdiff
path: root/drivers/s390/net/ctcmain.c
diff options
context:
space:
mode:
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>2008-03-04 20:05:27 +0200
committerJohn W. Linville <linville@tuxdriver.com>2008-03-04 18:36:39 -0500
commitcdb2a9fe63575dd1eb82b724bbd0aa5e0dd89fa0 (patch)
treef0a41d799f0d9bab6dd91c2475adcc9178a71d9d /drivers/s390/net/ctcmain.c
parent8a96df80b3ddb2410045a26ea19eeccb5f2d2d11 (diff)
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/s390/net/ctcmain.c')
0 files changed, 0 insertions, 0 deletions