From: Jussi Kivilinna Date: Tue, 4 Mar 2008 18:05:27 +0000 (+0200) Subject: rndis_wlan: fix broken data copy X-Git-Tag: v2.6.25-rc4~2^2~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cdb2a9fe63575dd1eb82b724bbd0aa5e0dd89fa0;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed