]> 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)
commita128b3223eda1abef5ab3e0c39d2b121ea528654
tree0f34e5d82b9b4923d6b96155b8a661c3691e7bee
parent892ec00eba13a899cb1610921f2e883b84f85b5c
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