]> git.baikalelectronics.ru Git - kernel.git/commit
rtl8xxxu: Use size of source pointer when copying efuse data
authorJes Sorensen <Jes.Sorensen@redhat.com>
Mon, 29 Feb 2016 22:05:20 +0000 (17:05 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 10 Mar 2016 13:29:13 +0000 (15:29 +0200)
commit72dc8c191e3b75227c058278723f1ba912bfb1d4
tree0f34e5d82b9b4923d6b96155b8a661c3691e7bee
parent7014845f8ccf5febb9e4fcdec0db52d102720282
rtl8xxxu: Use size of source pointer when copying efuse data

Some newer chips have more channel groups in their efuse parameter
tables, so use the size of the source, rather than the destination
when copying them out. This avoids copying garbage when increasing the
common array sizes.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.c