Skip to content
Snippets Groups Projects
Commit 25e870ee authored by Gabor Juhos's avatar Gabor Juhos
Browse files

ar71xx: ar934x_nfc: fix memory initialization bug


sizeof(array_from_function_definition) gives back the size of the pointer.
sizeof(type)  * array_size   should be used in memset.

Signed-off-by: default avatarDavid Völgyes <david.volgyes@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4950/


Signed-off-by: default avatarGabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39890
parent 24095302
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment